rename location to subdomain
the primary subdomain was previously called 'location'. but the alias/secondary/redirect
subdomain is called 'subdomain'. this makes it all consistent.
location terminology is now used for { subdomain, domain } pair
This commit is contained in:
@@ -96,7 +96,7 @@ const app = {
|
||||
appStoreId: 'appStoreId',
|
||||
installationState: apps.ISTATE_PENDING_INSTALL,
|
||||
runState: 'running',
|
||||
location: 'applocation',
|
||||
subdomain: 'applocation',
|
||||
domain: domain.domain,
|
||||
fqdn: domain.domain + '.' + 'applocation',
|
||||
manifest,
|
||||
@@ -181,7 +181,7 @@ function setup(done) {
|
||||
const result = await users.createOwner(admin.email, admin.username, admin.password, admin.displayName, auditSource);
|
||||
admin.id = result;
|
||||
},
|
||||
apps.add.bind(null, app.id, app.appStoreId, app.manifest, app.location, app.domain, app.portBindings, app),
|
||||
apps.add.bind(null, app.id, app.appStoreId, app.manifest, app.subdomain, app.domain, app.portBindings, app),
|
||||
settings._set.bind(null, settings.CLOUDRON_TOKEN_KEY, exports.appstoreToken), // appstore token
|
||||
async function createUser() {
|
||||
const result = await users.add(user.email, user, auditSource);
|
||||
|
||||
Reference in New Issue
Block a user