if you go to index then the client will connect to the server.
This serves no purpose and should really only be done when the user clicks to host or join a game.
As a side issue. When the user click to host or join and the websocket is in a closing state, then the client should make a new connection.
if you go to index then the client will connect to the server. This serves no purpose and should really only be done when the user clicks to host or join a game.
As a side issue. When the user click to host or join and the websocket is in a closing state, then the client should make a new connection.