Browse Source

websocket: hostname

283
ThomasV 10 years ago
parent
commit
cbf13197e2
  1. 2
      lib/www/index.html

2
lib/www/index.html

@ -61,7 +61,7 @@ if (id) {
});
};
var ws = new WebSocket("wss://electrum.org:9999/");
var ws = new WebSocket("wss://" + window.location.hostname + ":9999/");
ws.onopen = function() {
ws.send('id:' + id);
};

Loading…
Cancel
Save