Skip to content

Specify custom server URL via an explict option #3431

@infomiho

Description

@infomiho

We allow users to specify the server URL that the client will connect to using an environment variable:

REACT_APP_API_URL=https://my-server-url.com wasp deploy <provider> deploy

This feels like a workaround and not a real 1st part option of the Wasp Deploy feature. It would be better if we exposed an option:

wasp deploy <provider> deploy --custom-server-url https://my-server-url.com

This also makes it more future-proof as the environment variable might change from one Wasp version to another.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions