caas: migrate -> change_plan

This commit is contained in:
Girish Ramakrishnan
2017-12-09 08:42:15 +05:30
parent 6dec02e1bd
commit 7d0cf1a754
5 changed files with 17 additions and 7 deletions

View File

@@ -238,7 +238,7 @@ function initializeExpressSync() {
router.del ('/api/v1/domains/:domain', settingsScope, routes.user.requireAdmin, routes.user.verifyPassword, routes.domains.del);
// caas routes
router.post('/api/v1/caas/migrate', cloudronScope, routes.user.requireAdmin, routes.user.verifyPassword, routes.caas.migrate);
router.post('/api/v1/caas/change_plan', cloudronScope, routes.user.requireAdmin, routes.user.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)