From e53b15a983185e68bef0534e03735ed1983778b7 Mon Sep 17 00:00:00 2001 From: brad stein Date: Tue, 23 Oct 2018 20:49:45 -0500 Subject: [PATCH] trying http --- drawshare/templates/drawshare/room.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drawshare/templates/drawshare/room.html b/drawshare/templates/drawshare/room.html index 58ef5a2..c75ff93 100644 --- a/drawshare/templates/drawshare/room.html +++ b/drawshare/templates/drawshare/room.html @@ -34,10 +34,10 @@ our_canvas.width = window.innerWidth * .85; } - var roomName = {{ room_name_json }}; + let roomName = {{ room_name_json }}; - var drawSocket = new WebSocket( - 'wss://' + window.location.host + + let drawSocket = new WebSocket( + 'ws://' + window.location.host + '/ws/drawshare/' + roomName + '/'); drawSocket.onmessage = function(e) {