Thanks for the follow-up question, Kilian.
I should have mentioned, in my original reply, that the generated app uses the URL specified in Service Center's Administration > Environment Configuration > Hostname, so it's actually configurable. This hostname should be the publically accessible name of your server; it's also used to generate email links.
Edit: João Rosado beat me to the finish line