Logo-amall

Hello! How can i set base url when running nhost cli ? i see only config.yaml with no options to pass in something else than default localhost.

Last active 4 months ago

6 replies

17 views

  • NE

    Hello! How can i set base url when running nhost cli ? i see only config.yaml with no options to pass in something else than default localhost.

  • NE
    % nhost dev --domain 192.168.0.104
    
    > Ready to use
    
    URLs:
    - Postgres:        postgres://postgres:postgres@localhost:5432/postgres
    - GraphQL:        http://localhost:1337/v1/graphql
    - Auth:            http://localhost:1337/v1/auth
    - Storage:        http://localhost:1337/v1/storage
    - Functions:        http://localhost:1337/v1/functions
    
    - Hasura console:    http://localhost:9695
    - Mailhog:        http://localhost:8025
    
    - subdomain:        localhost
    - region:        (empty)
    

    i thought domain could actually change it, but no

  • NE

    making .env.development file and add

    NHOST_BACKEND_URL=http://192.168.0.104
    

    doesnt work either

  • EL

    Would you mind creating an issue here?

  • EL

    https://github.com/nhost/cli

  • NE

    @elitan its already there https://github.com/nhost/cli/issues/319

Last active 4 months ago

6 replies

17 views