remove settings.dashboardOrigin

This commit is contained in:
Girish Ramakrishnan
2023-08-04 22:10:14 +05:30
parent 4cdf37b060
commit 67ee82abb9
7 changed files with 16 additions and 19 deletions

View File

@@ -271,8 +271,8 @@ async function createSubcontainer(app, name, cmd, options) {
'CLOUDRON=1',
'CLOUDRON_PROXY_IP=172.18.0.1',
`CLOUDRON_APP_HOSTNAME=${app.id}`,
`CLOUDRON_WEBADMIN_ORIGIN=${settings.dashboardOrigin()}`,
`CLOUDRON_API_ORIGIN=${settings.dashboardOrigin()}`,
`CLOUDRON_WEBADMIN_ORIGIN=https://${settings.dashboardFqdn()}`,
`CLOUDRON_API_ORIGIN=https://${settings.dashboardFqdn()}`,
`CLOUDRON_APP_ORIGIN=https://${domain}`,
`CLOUDRON_APP_DOMAIN=${domain}`
];