Support relative subpaths for NEXT_PUBLIC_WS_URL #586
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Enables the definition of relative subpaths for NEXT_PUBLIC_WS_URL in order to be able to create prebuild containers with subpaths.
Example build see: https://github.com/niki-on-github/Perplexica/blob/e11d2cd26c7dd63f18ccd787028c22a688614e52/.github/workflows/docker-image.yaml#L31
Example usage see: https://github.com/niki-on-github/nixos-k3s/blob/c7da7d1941b0d2abf4198f211588bc086892bfaa/kubernetes/apps/perplexica/app/app.yaml
This allows people with reverse proxy to build a pre-built container with relative sub-paths (if they host both services on the same domain). Workaround for #570