From a115011735d24ac4f52e41cbfa45ef1d641f2ebd Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Wed, 27 Jan 2016 20:54:04 +0100 Subject: caod: agree on the websocket protocol name Signed-off-by: Olivier Gayot --- webapp/cao-common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/cao-common.js') diff --git a/webapp/cao-common.js b/webapp/cao-common.js index 0ec516d..66e34f1 100644 --- a/webapp/cao-common.js +++ b/webapp/cao-common.js @@ -214,7 +214,7 @@ var CAO = function() { /* }}} */ this.run = function() { - ws = new WebSocket('ws://' + document.location.hostname + ':1236'); + ws = new WebSocket('ws://' + document.location.host, 'game'); ws.onopen = function() { console.log('connection established'); -- cgit v1.2.3