In universal-resolver-frontend, we have a determineHostName() function for making axios calls to the backend API:
https://github.com/decentralized-identity/universal-resolver-frontend/blob/main/src/components/utils.js
Should we do the same here in universal-registrar-frontend?
@BernhardFuchs