diff --git a/src/server.js b/src/server.js index 5371cb47e..c17a752b3 100644 --- a/src/server.js +++ b/src/server.js @@ -131,6 +131,7 @@ function initializeExpressSync() { // working off the user behind the provided token router.get ('/api/v1/user/apps', profileScope, routes.apps.getAllByUser); router.get ('/api/v1/user/cloudron_config', profileScope, routes.user.getCloudronConfig); + router.get ('/api/v1/profile', profileScope, routes.profile.get); // duplicate route for compatibility router.get ('/api/v1/user/profile', profileScope, routes.profile.get); router.post('/api/v1/user/profile', profileScope, routes.profile.update); router.post('/api/v1/user/profile/password', profileScope, routes.users.verifyPassword, routes.profile.changePassword);