From 19e9501f6f0c1505e74c1a5972c64e0bd8e84019 Mon Sep 17 00:00:00 2001 From: Zambom Date: Thu, 6 Apr 2017 18:20:28 -0300 Subject: [PATCH] Changing socket connection string (may not work on localhost) --- amadeus/static/js/socket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amadeus/static/js/socket.js b/amadeus/static/js/socket.js index f715017..698aab0 100644 --- a/amadeus/static/js/socket.js +++ b/amadeus/static/js/socket.js @@ -4,7 +4,7 @@ if (("Notification" in window)) { } } -socket = new WebSocket("ws://" + window.location.host + "/"); +socket = new WebSocket("ws://" + window.location.host + ":8888/"); socket.onmessage = function(e) { content = JSON.parse(e.data); -- libgit2 0.21.2