operators: make the terminal work

This commit is contained in:
Girish Ramakrishnan
2021-09-21 18:27:54 -07:00
parent 6c9b8c8fa8
commit 06e5f9baa1
2 changed files with 1 additions and 18 deletions
+1 -1
View File
@@ -239,7 +239,7 @@ function initializeExpressSync() {
router.get ('/api/v1/apps/:id/exec', token, routes.apps.load, authorizeOperator, routes.apps.exec);
// websocket cannot do bearer authentication
router.get ('/api/v1/apps/:id/execws', routes.accesscontrol.websocketAuth.bind(null, users.ROLE_ADMIN), routes.apps.load, routes.apps.execWebSocket);
router.get ('/api/v1/apps/:id/execws', token, routes.apps.load, routes.accesscontrol.authorizeOperator, routes.apps.execWebSocket);
// branding routes
router.get ('/api/v1/branding/:setting', token, authorizeOwner, routes.branding.get);