-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: allow for providing an alternative domain for the proxy #749
Conversation
06kellyjac
commented
Oct 17, 2024
•
edited by JamieSlome
Loading
edited by JamieSlome
- feat: allow for providing an alternative domain for the proxy
- Have the service report back the proxyURL for each project, rather than
- being embedded inside the frontend bundle.
- Concequence is duplicating some data but very minor and allows for us to serve
- different projects from different proxies in the future.
- Removed unused vite env var, added method to pull service's current path and substitute
- in the http proxy port. Works for local dev, should maintain current behaviour.
- Custom domain can be applied via optional config.
- New config value added to the config schema.
- Config schema documentation has been regenerated (including some other absent items).
✅ Deploy Preview for endearing-brigadeiros-63f9d0 canceled.
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #749 +/- ##
==========================================
+ Coverage 60.08% 60.23% +0.14%
==========================================
Files 46 47 +1
Lines 1631 1647 +16
==========================================
+ Hits 980 992 +12
- Misses 651 655 +4 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice PR, cleanly implemented, just a bit of cleanup and test coverage and we're good to go ❤️
6517407
to
f3494ce
Compare
@06kellyjac - what would you recommend in terms of version bump, patch or minor? |
With a new capability I'd say minor 👍 |
Have the service report back the proxyURL for each project, rather than being embedded inside the frontend bundle. Concequence is duplicating some data but very minor and allows for us to serve different projects from different proxies in the future. Removed unused vite env var, added method to pull service's current path and substitute in the http proxy port. Works for local dev, should maintain current behaviour. Custom domain can be applied via optional config. New config value added to the config schema. Config schema documentation has been regenerated (including some other absent items).
0c80523
to
5c3dfe3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🍰
Rockstar contribution 🎸
feat: allow for providing an alternative domain for the proxy