emile 10 months ago
parent ca20c4a93f
commit d31f11f310

@ -63,7 +63,7 @@ function app(socket) {
function initializeWebSocket() { function initializeWebSocket() {
const ticketId = document.getElementById('ticketId').textContent.trim(); const ticketId = document.getElementById('ticketId').textContent.trim();
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