use replace ws by wss

This commit is contained in:
starnakin 2023-11-29 19:20:12 +01:00
parent 9947ea37e2
commit a6666b889f

View File

@ -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){