on startup, only re-generate the admin config

should not try to get certificates on startup
This commit is contained in:
Girish Ramakrishnan
2018-12-13 22:15:08 -08:00
parent 434525943c
commit 63e3560dd7
2 changed files with 31 additions and 12 deletions

View File

@@ -123,7 +123,7 @@ function runStartupTasks() {
reverseProxy.configureDefaultServer(NOOP_CALLBACK);
// always generate webadmin config since we have no versioning mechanism for the ejs
configureWebadmin(NOOP_CALLBACK);
if (config.adminDomain()) reverseProxy.writeAdminConfig(config.adminDomain(), NOOP_CALLBACK);
// check activation state and start the platform
users.isActivated(function (error, activated) {