[mod-ui] Connection to cloud depends on the address used to load the page

Being slightly lazy I added an alias to as the zeroconf address doesn’t work for me.

Connecting to http://mod-duo/, my alias, works fine, and ssh’ing into it too, but the UI breaks
as it can’t connect to the servers if I access it though the alias,


This doesn’t happen if I just access
I guess that I’ll just add a bookmark for now.

Only,, modduo.local and modduox.local are allowed by CORS in the MOD Cloud, so running with a custom address like that will result in a fail yes.