archive: add appConfig, icon and appStoreIcon

This commit is contained in:
Girish Ramakrishnan
2024-12-09 23:20:44 +01:00
parent cec2106cfe
commit 2ad93c114e
8 changed files with 63 additions and 9 deletions
+1
View File
@@ -165,6 +165,7 @@ async function initializeExpressSync() {
router.get ('/api/v1/archives', token, authorizeAdmin, routes.archives.list);
router.get ('/api/v1/archives/:id', token, authorizeAdmin, routes.archives.load, routes.archives.get);
router.del ('/api/v1/archives/:id', token, authorizeAdmin, routes.archives.load, routes.archives.del);
router.get ('/api/v1/archives/:id/icon', routes.archives.load, routes.archives.getIcon);
// working off the user behind the provided token
router.get ('/api/v1/profile', token, authorizeUser, routes.profile.get);