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

Being slightly lazy I added an alias to 192.168.51.1 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,

Untitled

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

Only 192.168.51.1, 192.168.50.1, 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.