Undo making JavaScript always poll the main BITS server instead of the running one

parent af68775b
......@@ -8,8 +8,8 @@ main(function (require) {
query = require("peppy").query,
debug = require("debug"),
protocol = /https/.test(location.protocol) ? "wss" : "ws",
// ws = new WebSocket(protocol + "://" + location.hostname + ":" + location.port + "/ws"),
ws = new WebSocket("wss://bits.poul.org/ws"),
ws = new WebSocket(protocol + "://" + location.hostname + ":" + location.port + "/ws"),
// ws = new WebSocket("wss://bits.poul.org/ws"),
handler = new Handler(browserHandler);
var debugMeta = query("meta[name='mode']")[0];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment