start deprecating usage of myDomain
parent
de6b9e2228
commit
03ff9bd0d7
|
@ -66,7 +66,8 @@ module.exports.create = function (config, cb) {
|
|||
flushCache: config.flushCache,
|
||||
adminEmail: config.adminEmail,
|
||||
allowSubscriptions: config.allowSubscriptions,
|
||||
myDomain: config.myDomain,
|
||||
myDomain: config.httpUnsafeOrigin,
|
||||
// XXX not included in the config...
|
||||
mySubdomain: config.mySubdomain,
|
||||
customLimits: config.customLimits || {},
|
||||
// FIXME this attribute isn't in the default conf
|
||||
|
|
|
@ -4,7 +4,7 @@ var Config = require("../lib/load-config");
|
|||
var Package = require("../package.json");
|
||||
|
||||
var body = JSON.stringify({
|
||||
domain: Config.myDomain,
|
||||
domain: Config.myDomain || Config.httpUnsafeOrigin,
|
||||
subdomain: Config.mySubdomain || null,
|
||||
adminEmail: Config.adminEmail,
|
||||
version: Package.version,
|
||||
|
|
Loading…
Reference in New Issue