Conquest
Conquest copied to clipboard
Configuring WebSocket for the HTML/WASM server
Is there an example web server configuration to allow the WebSocket function to work?
Currently, it defaults to server IP 127.0.0.1 (localhost) instead of the domain of the site.
Console logs:
Oh I check it in a bit IA.
Do you have a multiplayer server running on localhost?
For the game server at ConquestGame.online I compiled the web version of the game to point to the conquestgame.online multiplayer server.
I checked and it works okay for me both on conquestgame.online and locally too. How are you trying to run it?