mirror of
https://github.com/pawelmalak/flame.git
synced 2025-08-04 18:35:17 +02:00
Bookmark import.
This commit is contained in:
parent
1fff824957
commit
1aedb87bf4
17 changed files with 327 additions and 8 deletions
|
@ -15,13 +15,13 @@ const {
|
|||
|
||||
router
|
||||
.route('/')
|
||||
.post(auth, requireAuth, upload, createApp)
|
||||
.post(auth, requireAuth, upload.icon, createApp)
|
||||
.get(auth, getAllApps);
|
||||
|
||||
router
|
||||
.route('/:id')
|
||||
.get(auth, getSingleApp)
|
||||
.put(auth, requireAuth, upload, updateApp)
|
||||
.put(auth, requireAuth, upload.icon, updateApp)
|
||||
.delete(auth, requireAuth, deleteApp);
|
||||
|
||||
router.route('/0/reorder').put(auth, requireAuth, reorderApps);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue