use replace ws by wss
This commit is contained in:
parent
9947ea37e2
commit
a6666b889f
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user