Closed rnd256 closed 4 years ago
Sure, no problem. I discussed this briefly with endel in the #help discord channel yesterday, and he pointed me towards the code locations I ended up changing.
I have a staging server behind nginx with basic http auth, so Colyseus can't connect unless I set an Authorization header. This PR is a general solution that lets devs set whichever headers they need for the connection.
Hey @rnd256 Thanks for you contribution. Can you reference an issue or provide a short description for the use case of the pull request?