caas: remove box plan change routes

This commit is contained in:
Girish Ramakrishnan
2018-12-13 09:39:48 -08:00
parent 10034fcbba
commit ff550e897a
7 changed files with 1 additions and 355 deletions

View File

@@ -297,10 +297,6 @@ function initializeExpressSync() {
router.get ('/api/v1/services/:service/logstream', cloudronScope, routes.services.getLogStream);
router.post('/api/v1/services/:service/restart', cloudronScope, routes.services.restart);
// caas routes
router.get('/api/v1/caas/config', cloudronScope, routes.caas.getConfig);
router.post('/api/v1/caas/change_plan', cloudronScope, routes.users.verifyPassword, routes.caas.changePlan);
// disable server socket "idle" timeout. we use the timeout middleware to handle timeouts on a route level
// we rely on nginx for timeouts on the TCP level (see client_header_timeout)
httpServer.setTimeout(0);