Logo-amall

I need to expose the app online before pushing to production I understand that I can use the docker-compose file from self-hosting option, but for production I configure the client: ``` const nhost = new NhostClient({ subdomain: process.env.REACT_APP_NHOST_SUBDOMAIN, region: process.env.REACT_APP_NHOST_REGION }) ``` and in case of the testing server I need to be able to enter the server full domain name... Is it possible at all?

Last active 4 months ago

3 replies

10 views

  • OS

    I need to expose the app online before pushing to production
    I understand that I can use the docker-compose file from self-hosting option, but for production I configure the client:

    const nhost = new NhostClient({
      subdomain: process.env.REACT_APP_NHOST_SUBDOMAIN,
      region: process.env.REACT_APP_NHOST_REGION
    })
    

    and in case of the testing server I need to be able to enter the server full domain nameโ€ฆ
    Is it possible at all?

  • NU

    @oskar we introduced custom endpoints for each service here https://github.com/nhost/nhost/pull/1051 you can now use:

    • authUrl
    • storageUrl
    • graphqlUrl
    • functionsUrl

    if you need custom endpoints, those are your parameters. Notice that you have to fill all of them

  • OS

    @Nuno Pato It's great, thank you !!!
    ๐Ÿ‘ ๐Ÿ‘

Last active 4 months ago

3 replies

10 views