Fixing link

This commit is contained in:
Christopher Speller
2015-06-16 16:42:14 -04:00
parent 2b5fb34c32
commit 3860daaa42
+2 -2
View File
@@ -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(".");
}