-
Notifications
You must be signed in to change notification settings - Fork 268
Closed
@Kshitiz1403
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
When self hosting the frontend behind a proxy, for e.g.
/low-coder/...
the JS and CSS still point to the root URL i.e. https://proxy.com/static/index-15a42a4d.js
Expected Behavior
There should be a config to specify frontend path so that the full path can be resolved to https://proxy.com/low-coder/static/index-15a42a4d.js
Steps to reproduce
Self host the frontend behind an nginx proxy against some path.
Environment
No response
Additional Information
If we can make the parameter process.env.PUBLIC_URL
configurable, this can be easily achieved.
ensureLastSlash(process.env.PUBLIC_URL)
Metadata
Metadata
Assignees
Labels
No labels