summaryrefslogtreecommitdiffstats
path: root/web/react/utils/utils.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/utils/utils.jsx')
-rw-r--r--web/react/utils/utils.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx
index b20e54e84..628d92342 100644
--- a/web/react/utils/utils.jsx
+++ b/web/react/utils/utils.jsx
@@ -737,8 +737,8 @@ module.exports.getHomeLink = function() {
}
var parts = window.location.host.split(".");
if (parts.length <= 1) {
- return window.location.host;
+ return window.location.protocol + "//" + window.location.host;
}
parts[0] = "www";
- return parts.join(".");
+ return window.location.protocol + "//" + parts.join(".");
}