From ccc1470c69fa66b13be7987c08270483fa50d200 Mon Sep 17 00:00:00 2001 From: emile Date: Mon, 1 Jul 2024 23:18:03 +0300 Subject: [PATCH] new --- osinaweb/support/templates/details_templates/ticket-room.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = () => {