App not supporting redirects

I’ve setup the app with both an external ( and internal ( URLs. House A has Home Assistant server set up, and House B does not, but both of them have the same WiFi SSID. To make sure the app works while in House B, I’ve set up so that when you go to in House B, you get an HTTP redirect to

This works fine when using the browser, but breaks when using the app. It either opens up the mobile browser, or just sits there with a white screen and does nothing. Short of setting up a proxy/DNS server or changing the WiFi SSIDs, is there a way around this issue? Thanks.

if hte app detects a different base URL it will always load the browser.

Is there a simple workaround?