overleaf/server-ce/hotfix/3.0.1/remove-disconnect-endpoint.patch
Miguel Serrano 4ee76cf2b4 CE/SP hotfixes 2.7.1 and 3.0.1 (#5046)
Removes `/disconnectAllUsers`, that was exposed to all users
Fixes broken image when `ENABLE_CONVERSIONS` is set to `false`

GitOrigin-RevId: 6ef04e1bff91ac46d3587075328bba2636bb23e2
2021-09-17 08:03:27 +00:00

14 lines
454 B
Diff

--- /var/www/sharelatex/web/app/src/router.js
--- /var/www/sharelatex/web/app/src/router.js
@@ -995,11 +995,6 @@ function initialize(webRouter, privateApiRouter, publicApiRouter) {
AdminController.unregisterServiceWorker
)
- privateApiRouter.post(
- '/disconnectAllUsers',
- AdminController.disconnectAllUsers
- )
-
privateApiRouter.get('/perfTest', (req, res) => res.send('hello'))
publicApiRouter.get('/status', (req, res) => {