mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-18 19:19:36 +02:00
Category model and controllers
This commit is contained in:
parent
5c948e1a68
commit
100f274d96
8 changed files with 164 additions and 4 deletions
1
api.js
1
api.js
|
@ -14,6 +14,7 @@ api.use(express.json());
|
|||
api.use('/api/apps', require('./routes/apps'));
|
||||
api.use('/api/config', require('./routes/config'));
|
||||
api.use('/api/weather', require('./routes/weather'));
|
||||
api.use('/api/categories', require('./routes/category'));
|
||||
|
||||
// Custom error handler
|
||||
api.use(errorHandler);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue