diff --git a/drawshare/templates/drawshare/room.html b/drawshare/templates/drawshare/room.html index a51ee0e..58ef5a2 100644 --- a/drawshare/templates/drawshare/room.html +++ b/drawshare/templates/drawshare/room.html @@ -37,7 +37,7 @@ var roomName = {{ room_name_json }}; var drawSocket = new WebSocket( - 'ws://' + window.location.host + + 'wss://' + window.location.host + '/ws/drawshare/' + roomName + '/'); drawSocket.onmessage = function(e) {