parent
383993ac7b
commit
cab5c53c96
@ -32,7 +32,7 @@ function Cloudron(box) {
|
||||
}
|
||||
|
||||
Cloudron.prototype._setDomain = function (domain) {
|
||||
this._isCustomDomain = !domain.match(/.*\.cloudron\.(me|eu|de)$/);
|
||||
this._isCustomDomain = domain === process.env.CUSTOM_DOMAIN || domain === process.env.SELFHOST_DOMAIN;
|
||||
this._adminFqdn = this._isCustomDomain ? 'my.' + domain : 'my-' + domain;
|
||||
this._origin = this._isCustomDomain ? 'https://my.' + domain : 'https://my-' + domain;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user