2 lines
102 B
JavaScript
2 lines
102 B
JavaScript
var socket = new WebSocket('wss://' + document.domain + SCRIPT_NAME + '/ws/quest/' + quest_id + '/');
|