Conquest icon indicating copy to clipboard operation
Conquest copied to clipboard

Configuring WebSocket for the HTML/WASM server

Open Douloureux opened this issue 2 years ago • 3 comments

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. image

Console logs: image

Douloureux avatar Jul 27 '23 07:07 Douloureux

Oh I check it in a bit IA.

wamiqurrehman093 avatar Jul 27 '23 08:07 wamiqurrehman093

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.

argosopentech avatar Jul 29 '23 18:07 argosopentech

I checked and it works okay for me both on conquestgame.online and locally too. How are you trying to run it?

wamiqurrehman093 avatar Jul 29 '23 18:07 wamiqurrehman093