mirror of
https://github.com/pawelmalak/flame.git
synced 2025-06-28 09:14:04 -04:00
Added auth middleware. Added access control to apps
This commit is contained in:
parent
d1c61bb393
commit
e3f167921c
16 changed files with 92 additions and 9 deletions
1
api.js
1
api.js
|
@ -21,6 +21,7 @@ api.use('/api/weather', require('./routes/weather'));
|
|||
api.use('/api/categories', require('./routes/category'));
|
||||
api.use('/api/bookmarks', require('./routes/bookmark'));
|
||||
api.use('/api/queries', require('./routes/queries'));
|
||||
api.use('/api/auth', require('./routes/auth'));
|
||||
|
||||
// Custom error handler
|
||||
api.use(errorHandler);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue