From a6666b889fd2d255f06602d5d4048e0c167ed1ec Mon Sep 17 00:00:00 2001 From: starnakin Date: Wed, 29 Nov 2023 19:20:12 +0100 Subject: [PATCH] use replace ws by wss --- frontend/static/js/views/Chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/static/js/views/Chat.js b/frontend/static/js/views/Chat.js index 7d071b3..9352c17 100644 --- a/frontend/static/js/views/Chat.js +++ b/frontend/static/js/views/Chat.js @@ -5,7 +5,7 @@ export default class extends AbstractView { super(params); this.setTitle("Chat"); - let url = `ws://${window.location.host}/ws/socket-server/` + let url = `wss://${window.location.host}/ws/socket-server/` this.chatSocket = new WebSocket(url) this.chatSocket.onmessage = function(e){