trying http

This commit is contained in:
brad stein 2018-10-23 20:49:45 -05:00
parent 131bde3b7a
commit e53b15a983

View File

@ -34,10 +34,10 @@
our_canvas.width = window.innerWidth * .85; our_canvas.width = window.innerWidth * .85;
} }
var roomName = {{ room_name_json }}; let roomName = {{ room_name_json }};
var drawSocket = new WebSocket( let drawSocket = new WebSocket(
'wss://' + window.location.host + 'ws://' + window.location.host +
'/ws/drawshare/' + roomName + '/'); '/ws/drawshare/' + roomName + '/');
drawSocket.onmessage = function(e) { drawSocket.onmessage = function(e) {