I'm having some problems self-hosting nhost due to the current subpath setup for services (`/v1/auth`, `/v1/functions`, etc). I saw that this is already being deprecated for the cloud version, in favour of the subdomains like: `https://$subdomain.auth.$region.nhost.run`. But unfortunately, this won't work for self-hosted version, as the `nhost-js` client expects either `backendUrl` or `subdomain` and `region` (which is nhost-cloud specifc). In terms of architecture, it would be ideal if I could host the services also under separate subdomains, like `auth.mydomain.com` and `functions.mydomain.com`. Is there a way to achieve this already on the js client? What are the plans for the self-hosted version, if the `backendUrl` is being deprecated? Cheers!
Last active 11 days ago