Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
Fix a little mistake to take the hostname instead of the host
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Fuhrmann committed Oct 22, 2016
1 parent 852decc commit c8c0c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webclient/socket_webclient.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit c8c0c9a

Please sign in to comment.