summaryrefslogtreecommitdiffstats
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
commit7a20f64e742b2f9e22423d09da88fd0a86a1b002 (patch)
tree3f792f00d504de379e4c5330d87796f67805f60f
parent3276b5dbd9479aa0c9fe153878471371bea6bff2 (diff)
downloadchat-7a20f64e742b2f9e22423d09da88fd0a86a1b002.tar.gz
chat-7a20f64e742b2f9e22423d09da88fd0a86a1b002.tar.bz2
chat-7a20f64e742b2f9e22423d09da88fd0a86a1b002.zip
Fixing link
-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(".");
}