diff --git a/CHANGES b/CHANGES index 67773e3aa..d660ed6f9 100644 --- a/CHANGES +++ b/CHANGES @@ -2102,4 +2102,5 @@ * import: when importing filesystem backups, the input box is a path * firewall: fix race condition where blocklist was not added in correct position in the FORWARD chain * services: fix issue where services where scaled up/down too fast +* turn: realm variable was not updated properly on dashboard change diff --git a/src/addons.js b/src/addons.js index d4793ab60..f0655febb 100644 --- a/src/addons.js +++ b/src/addons.js @@ -6,6 +6,7 @@ exports = module.exports = { configureService, getServiceLogs, restartService, + rebuildService, startAppServices, stopAppServices, diff --git a/src/cloudron.js b/src/cloudron.js index d75b0d156..915a6c5fb 100644 --- a/src/cloudron.js +++ b/src/cloudron.js @@ -347,7 +347,7 @@ function updateDashboardDomain(domain, auditSource, callback) { setDashboardDomain(domain, auditSource, function (error) { if (error) return callback(error); - addons.restartService('turn', NOOP_CALLBACK); // to update the realm variable + addons.rebuildService('turn', NOOP_CALLBACK); // to update the realm variable callback(null); });