more post install variables

This commit is contained in:
Girish Ramakrishnan
2021-05-25 11:32:53 -07:00
parent 5718775bf7
commit 4a238256e8

View File

@@ -1972,7 +1972,9 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
if (app.manifest.postInstallMessage) {
var text= app.manifest.postInstallMessage;
// we chose - because underscore has special meaning in markdown
text = text.replace(/\$CLOUDRON-APP-DOMAIN/g, app.fqdn);
text = text.replace(/\$CLOUDRON-APP-LOCATION/g, app.location);
text = text.replace(/\$CLOUDRON-APP-DOMAIN/g, app.domain);
text = text.replace(/\$CLOUDRON-APP-FQDN/g, app.fqdn);
text = text.replace(/\$CLOUDRON-APP-ORIGIN/g, 'https://' + app.fqdn);
text = text.replace(/\$CLOUDRON-API-DOMAIN/g, this._config.adminFqdn);
text = text.replace(/\$CLOUDRON-API-ORIGIN/g, 'https://' + this._config.adminFqdn);