At the moment when the admin connects to core, it shows the API_KEY modal both if an API_KEY is requested to access the endpoints, but also when there are connection issues (most of the time noobs that misconfigured or not configured at all CORE_HOST in .env file).
Can we give out a proper error message for wrong address?
Another option is to follow @sambarza's suggestion and instead of injecting CORE_HOST to the admin, just make it connect to the same address it has been served (window.location.something...)
At the moment when the admin connects to core, it shows the
API_KEY
modal both if anAPI_KEY
is requested to access the endpoints, but also when there are connection issues (most of the time noobs that misconfigured or not configured at allCORE_HOST
in.env
file). Can we give out a proper error message for wrong address?Another option is to follow @sambarza's suggestion and instead of injecting CORE_HOST to the admin, just make it connect to the same address it has been served (
window.location.something...
)