elthran / UDK

A text-based empire strategy game
0 stars 0 forks source link

Allow Specifying Host and Port via Environmental Variables #34

Open klondikemarlen opened 3 years ago

klondikemarlen commented 3 years ago

Solve this problem.

If you have a moment maybe you can take a look at the debug API/routes and see if there's a good way to replace the hard-coded IP/port with an ENV variable or something. I can modify all the files locally for testing, but a elegant solution going forward would be nice. The buttons don't work for me as is, because the redirect is hard-coded to look at 'localhost'.