mirror of
https://github.com/neogeek23/drawshare.git
synced 2026-02-04 02:58:16 +00:00
trying http
This commit is contained in:
parent
131bde3b7a
commit
e53b15a983
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user