The UrlCheck in the `AuthLogin.mounted` should check the remote port also
As pointed out here: https://community.baserow.io/t/error-message-on-self-hosted/1723, the URL check fails to warn the incorrect configuration when the backend port is different from the frontend.
We need to check both the host and the port in AuthLogin.mounted
:
if (publicBackendUrl.host !== window.location.host || publicBackendUrl.port !== window.location.port) {
It'd also be nice to move the urlCheck
in some utils/urlCheck.js
and remove all the implementation from the login
component.