Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Minor

robindekkers8135d762ba2f
diff --git a/ui/component/core/src/core.ts b/ui/component/core/src/core.ts
index 91d45458d..d5d5f12dc 100644
--- a/ui/component/core/src/core.ts
+++ b/ui/component/core/src/core.ts
@@ -81,7 +81,7 @@ export class Manager {
if (!normalisedConfig.managerUrl || normalisedConfig.managerUrl === "") {
// Assume manager is running on same host as this code
- normalisedConfig.managerUrl = window.location.protocol + "//" + window.location.hostname + window.location.port;
+ normalisedConfig.managerUrl = window.location.protocol + "//" + window.location.hostname + ":" + window.location.port;
} else {
// Normalise by stripping any trailing slashes
normalisedConfig.managerUrl = normalisedConfig.managerUrl.replace(/\/+$/, "");