emile 10 months ago
parent 410c48e8db
commit ccc1470c69

@ -315,7 +315,7 @@
function initializeWebSocket() { function initializeWebSocket() {
const ticketId = '{{ticket.id}}'; const ticketId = '{{ticket.id}}';
const wsUrl = `ws://${window.location.host}/ws/ticketroom/${ticketId}/`; const wsUrl = `wss://${window.location.host}/ws/ticketroom/${ticketId}/`;
const socket = new WebSocket(wsUrl); const socket = new WebSocket(wsUrl);
socket.onopen = () => { socket.onopen = () => {

Loading…
Cancel
Save