Split dashboard dns setup and db operations
The dns setup is now a task that we can wait on. Once that task is done, we can do db operations to switch the domain in a separate route
This commit is contained in:
@@ -121,6 +121,7 @@ function initializeExpressSync() {
|
||||
// cloudron routes
|
||||
router.get ('/api/v1/cloudron/update', cloudronScope, routes.cloudron.getUpdateInfo);
|
||||
router.post('/api/v1/cloudron/update', cloudronScope, routes.cloudron.update);
|
||||
router.post('/api/v1/cloudron/set_dashboard_dns', cloudronScope, routes.cloudron.setDashboardDns);
|
||||
router.post('/api/v1/cloudron/set_dashboard_domain', cloudronScope, routes.cloudron.setDashboardDomain);
|
||||
router.post('/api/v1/cloudron/renew_certs', cloudronScope, routes.cloudron.renewCerts);
|
||||
router.post('/api/v1/cloudron/check_for_updates', cloudronScope, routes.cloudron.checkForUpdates);
|
||||
|
||||
Reference in New Issue
Block a user