decentralized-identity / universal-registrar-frontend

Frontend web UI for Universal Registrar.
https://uniregistrar.io/
Apache License 2.0
8 stars 3 forks source link

Add determineHostName() function? #15

Open peacekeeper opened 3 years ago

peacekeeper commented 3 years ago

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

BernhardFuchs commented 3 years ago

This was needed for the case that the frontend and backend are not on the same host. It was a requirement from about a year ago.
I would rather say we remove that functionality from the resolver, if we don't intend to use it.