diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2016-01-27 20:54:04 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2016-01-27 20:54:32 +0100 |
commit | a115011735d24ac4f52e41cbfa45ef1d641f2ebd (patch) | |
tree | 2c25b3d085bfda0efb89ca6c206ecd016aaad585 /webapp | |
parent | b5f436e966fea78c722b695c35ba2212968b00ff (diff) |
caod: agree on the websocket protocol name
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/cao-common.js | 2 |
1 files changed, 1 insertions, 1 deletions
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'); |