Closed ublefo closed 4 months ago
I want to test this before merging
Currently NODE_ENV
is set to docker
so these changes won't affect anything, if you set NODE_ENV
to devcontainer
the frontend will listen on port 4201, and API_URL
will be set to ${window.location.origin}/api
so the api requests will go to the reverse proxy too.
Introduce a new configuration for
serve
andbuild
to allow running frontend server on a different port in devcontainer, so this change can be seamless for people with existing devcontainer setups. This should also not affect anyone who aren't using the devcontainer in their development setup.