Skip to content

Commit

Permalink
remove api starter
Browse files Browse the repository at this point in the history
  • Loading branch information
rugglcon committed Aug 29, 2019
1 parent c224c67 commit 6a27252
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,23 +97,23 @@ class App {
/**
* BUDGET ROUTES
*/
this.app.use('/api/budgets', passport.authenticate('jwt', {
this.app.use('/budgets', passport.authenticate('jwt', {
session: true
}), budgetRoutes(this.budgetLogic, this.expenseLogic));
logger.info('instantiated budget routes');

/**
* EXPENSE ROUTES
*/
this.app.use('/api/expense', passport.authenticate('jwt', {
this.app.use('/expense', passport.authenticate('jwt', {
session: true
}), expenseRoutes(this.budgetLogic, this.expenseLogic));
logger.info('instantiated expense routes');

/**
* USER ROUTES
*/
this.app.use('/api/user', userRoutes(passport, this.userLogic, this.authLogic));
this.app.use('/user', userRoutes(passport, this.userLogic, this.authLogic));
logger.info('instantiated user routes');
}
}
Expand Down

0 comments on commit 6a27252

Please sign in to comment.