This path was hardcoded to /netcode which is not necessary for websocket connections, and is an opinionated choice that breaks in certain reverse proxy configurations such as using domains per game server with certs for WSS connections from the browser.
The only way to use the transport in an actual professional setting is to fork and delete the path out of the code, which this lets the user do now without modifying the code.
Web sockets are not required to listen on any path at all. This allows users to delete the path but the default does not break backwards compatibility.
This path was hardcoded to
/netcode
which is not necessary for websocket connections, and is an opinionated choice that breaks in certain reverse proxy configurations such as using domains per game server with certs for WSS connections from the browser.The only way to use the transport in an actual professional setting is to fork and delete the path out of the code, which this lets the user do now without modifying the code.
Web sockets are not required to listen on any path at all. This allows users to delete the path but the default does not break backwards compatibility.
Using this in production for our unity re-write of https://rolltable.app