Preserve the isDemo flag across updates

This commit is contained in:
Girish Ramakrishnan
2016-09-13 18:33:18 -07:00
parent 8ef8f08b28
commit c10302f146

View File

@@ -598,6 +598,7 @@ function doUpdate(boxUpdateInfo, callback) {
tlsCert: fs.readFileSync(path.join(paths.NGINX_CERT_DIR, 'host.cert'), 'utf8'),
tlsKey: fs.readFileSync(path.join(paths.NGINX_CERT_DIR, 'host.key'), 'utf8'),
isCustomDomain: config.isCustomDomain(),
isDemo: config.isDemo(),
appstore: {
token: config.token(),