When working through https, access to the server is blocked by the browser, does it work through http?
When working through https, access to the server is blocked by the browser, does it work through http?
Solved!!!
caddyserver
ws.matchscore.ru {
proxy / 127.0.0.1:8014 {
transparent
websocket
}
}
client (ws to wss)
this.colyseus = new Colyseus.Client('wss://ws.matchscore.ru')
server (ws to wss)
gameServer.listen(port);
console.log(`Listening on wss://localhost:${port}`)