cloudron 4.14.1 → 4.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/actions.js +8 -6
package/package.json
CHANGED
package/src/actions.js
CHANGED
|
@@ -653,12 +653,14 @@ async function configure(options) {
|
|
|
653
653
|
const domainObject = await selectDomain(location, options);
|
|
654
654
|
|
|
655
655
|
const secondaryDomains = {};
|
|
656
|
-
app.secondaryDomains
|
|
657
|
-
secondaryDomains
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
656
|
+
if (app.secondaryDomains) { // only valid post 7.1
|
|
657
|
+
app.secondaryDomains.forEach(sd => {
|
|
658
|
+
secondaryDomains[sd.environmentVariable] = {
|
|
659
|
+
subdomain: sd.subdomain,
|
|
660
|
+
domain: sd.domain
|
|
661
|
+
};
|
|
662
|
+
});
|
|
663
|
+
}
|
|
662
664
|
|
|
663
665
|
const data = {
|
|
664
666
|
location: domainObject.subdomain, // LEGACY
|