refactor style, fix #77 #76

This commit is contained in:
les
2020-06-22 19:15:32 +02:00
parent eab90627a3
commit 3f1bf4cc4a
8 changed files with 152 additions and 72 deletions

View File

@@ -104,6 +104,7 @@ api.delete('/event/notification/:code', eventController.delNotification)
api.get('/settings', settingsController.getAllRequest)
api.post('/settings', isAdmin, settingsController.setRequest)
api.get('/event/:event_id.:format?', cors, eventController.get)
api.post('/settings/favicon', isAdmin, multer({ dest: path.resolve(config.upload_path, 'thumb/') }).single('favicon'), settingsController.setFavicon)
// confirm event