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'.
Solve this problem.