Commit 19e9501f6f0c1505e74c1a5972c64e0bd8e84019
1 parent
a6f0c4dd
Exists in
master
and in
2 other branches
Changing socket connection string (may not work on localhost)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
amadeus/static/js/socket.js
| ... | ... | @@ -4,7 +4,7 @@ if (("Notification" in window)) { |
| 4 | 4 | } |
| 5 | 5 | } |
| 6 | 6 | |
| 7 | -socket = new WebSocket("ws://" + window.location.host + "/"); | |
| 7 | +socket = new WebSocket("ws://" + window.location.host + ":8888/"); | |
| 8 | 8 | |
| 9 | 9 | socket.onmessage = function(e) { |
| 10 | 10 | content = JSON.parse(e.data); | ... | ... |