diff --git a/js/script.js b/js/script.js index c7f89bc..0af2ef6 100755 --- a/js/script.js +++ b/js/script.js @@ -181,7 +181,7 @@ var update_ui = function() { $(function() { get_conf_cookie(); if (window.location.protocol === "http:") { - server_conf.host = window.location.host; + server_conf.host = window.location.hostname; } var modal_conf = { show: false,