diff --git a/osinaweb/support/templates/details_templates/ticket-room.html b/osinaweb/support/templates/details_templates/ticket-room.html index 9b653c3e..62aea604 100644 --- a/osinaweb/support/templates/details_templates/ticket-room.html +++ b/osinaweb/support/templates/details_templates/ticket-room.html @@ -315,7 +315,7 @@ function initializeWebSocket() { 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); socket.onopen = () => {