summaryrefslogtreecommitdiffstats
path: root/web/react/utils/utils.jsx
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
commit8d3b36ed3d68613b2155d6e7d448a1ed69611e62 (patch)
treeb489298edb5b8dc5bf1782d8044aea35f84a7ce0 /web/react/utils/utils.jsx
parent14b409220e76e73fab6b0df9c724599bc97b1da2 (diff)
downloadchat-8d3b36ed3d68613b2155d6e7d448a1ed69611e62.tar.gz
chat-8d3b36ed3d68613b2155d6e7d448a1ed69611e62.tar.bz2
chat-8d3b36ed3d68613b2155d6e7d448a1ed69611e62.zip
Fixing link
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(".");
}