1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-18 19:19:36 +02:00

API routes to get and add themes

This commit is contained in:
Paweł Malak 2022-03-24 14:48:10 +01:00
parent 48e28b9abd
commit b8af178cbf
6 changed files with 67 additions and 2 deletions

1
api.js
View file

@ -22,6 +22,7 @@ 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'));
api.use('/api/themes', require('./routes/themes'));
// Custom error handler
api.use(errorHandler);