crash fixes
This commit is contained in:
@@ -117,7 +117,7 @@ async function initializeExpressSync() {
|
||||
// config route for dashboard that any auth user (not just admin) can access
|
||||
router.get ('/api/v1/dashboard/config', token, authorizeUser, routes.dashboard.getConfig);
|
||||
router.post('/api/v1/dashboard/prepare_location', json, token, authorizeAdmin, routes.dashboard.startPrepareLocation);
|
||||
router.post('/api/v1/dashboard/location', json, token, authorizeAdmin, routes.dashboard.setupLocation);
|
||||
router.post('/api/v1/dashboard/location', json, token, authorizeAdmin, routes.dashboard.changeLocation);
|
||||
|
||||
// system (vm/server)
|
||||
router.get ('/api/v1/system/reboot', token, authorizeAdmin, routes.system.isRebootRequired);
|
||||
|
||||
Reference in New Issue
Block a user