You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, GLOBAL_CONTEXT_PATH exists in the API service, so the API can operate.
However, in the case of web, the context path cannot be set before rebuilding.
It would be nice to be able to change the context path with an environment variable.
🎤 Why is this feature needed ?
This is required when multi-domain cannot be used.
✌️ How do you aim to achieve this?
Make context-path configurable for all api, web, and ws through the GLOBAL_CONTEXT_PATH environment variable.
🔄️ Additional Information
There is FRONT_BASE_CONTEXT_PATH, but it doesn't seem to be used properly.
👀 Have you spent some time to check if this feature request has been raised before?
https://docs.novu.co/community/run-in-local-machine
This article will help you run it locally!
I also tried to create a PR but gave up. (I don't know how to modify react and http-server to beautifully). But you can do it!
To solve this issue need two things:
Make it possible to dynamically convert the baseUrl of React's router (you can probably use the env.js that already exists).
Make it possible to set the context path on the http-server when serving files from the built frontend. Also, the addresses of assets referenced in index.html should be dynamically replaced.
🔖 Feature description
Make novu web accessible through context path.
Currently, GLOBAL_CONTEXT_PATH exists in the API service, so the API can operate.
However, in the case of web, the context path cannot be set before rebuilding.
It would be nice to be able to change the context path with an environment variable.
🎤 Why is this feature needed ?
This is required when multi-domain cannot be used.
✌️ How do you aim to achieve this?
Make context-path configurable for all api, web, and ws through the GLOBAL_CONTEXT_PATH environment variable.
🔄️ Additional Information
There is FRONT_BASE_CONTEXT_PATH, but it doesn't seem to be used properly.
👀 Have you spent some time to check if this feature request has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: