summaryrefslogtreecommitdiffstats
path: root/web/react
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-06-16 16:42:14 -0400
committerChristopher Speller <crspeller@gmail.com>2015-06-16 16:42:14 -0400
commit3860daaa424ac5d277e95fb1316489c458b4e8fb (patch)
treea54002bc34cece97bb60477a2442637c537d4b9f /web/react
parent2b5fb34c32c7fbdd56bfcd3977d4e65fd8506a69 (diff)
downloadchat-3860daaa424ac5d277e95fb1316489c458b4e8fb.tar.gz
chat-3860daaa424ac5d277e95fb1316489c458b4e8fb.tar.bz2
chat-3860daaa424ac5d277e95fb1316489c458b4e8fb.zip
Fixing link
Diffstat (limited to 'web/react')
-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(".");
}