Commit 3e151dcad2a712ba554ba1e338ca301d74734c8b
1 parent
19e9501f
Exists in
master
and in
2 other branches
Returning socket url to initial
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,7 +4,7 @@ if (("Notification" in window)) { | ||
4 | } | 4 | } |
5 | } | 5 | } |
6 | 6 | ||
7 | -socket = new WebSocket("ws://" + window.location.host + ":8888/"); | 7 | +socket = new WebSocket("ws://" + window.location.host + "/"); |
8 | 8 | ||
9 | socket.onmessage = function(e) { | 9 | socket.onmessage = function(e) { |
10 | content = JSON.parse(e.data); | 10 | content = JSON.parse(e.data); |