Titivillus/quest/static/quest.js

2 lines
102 B
JavaScript

var socket = new WebSocket('wss://' + document.domain + SCRIPT_NAME + '/ws/quest/' + quest_id + '/');