Our games are being bundled and built as HTML5, but they use colyseus for multiplayer functionality. At each of our locations (there are three developers including myself) we each have a device running a homelab version of the server which will host the games. I’ve managed to get it setup so that when I “project>build HTML5” it still connects to my homelab’s server for multiplayer functionality, but it isn’t at the same address for each of the developers on their home networks. I’m looking to get the ip address input somehow for the “project>build HTML5” but not have this as a requirement for the production version.
My initial thought was have a file which contains the ip address and put it in .gitignore so each of the developers can change that file once to reflect their homelab, but not have to input the ip every time. The problem with this is that a HTML5 build won’t be able to access files on the device I believe.
Any help with this is greatly appreciated.