diff --git a/webclient/socket_webclient.class.js b/webclient/socket_webclient.class.js index f9b907d..55de9c1 100644 --- a/webclient/socket_webclient.class.js +++ b/webclient/socket_webclient.class.js @@ -2,7 +2,7 @@ SocketWebclient = (function () { "use strict"; function SocketWebclient() { - this.server_host = window.location.host+':3128'; + this.server_host = window.location.hostname+':3128'; this.socket = null; this.callbacks = {}; this.type = this.getDeviceType();