-
Notifications
You must be signed in to change notification settings - Fork 643
Add backend proxy to aid local fastboot testing #2215
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
Conversation
r? @smarnach (rust_highfive has picked a reviewer for you, use r? to override) |
☔ The latest upstream changes (presumably #2389) made this pull request unmergeable. Please resolve the merge conflicts. |
To avoid the need to set up a local nginx configuration during development, this commit adds a simple proxy for frontend requests when `USE_FASTBOOT=staging-experimental` is set. When enabled, developers should browse to http://localhost:8888/ (instead of port 4200 when using `npm run start:local`).
268b2c6
to
c9b9ef0
Compare
I've rebased onto the new http types, which simplified this logic a lot. This is still intended for local development only. r? @JohnTitor |
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.
Looks good! I think it'd be nice that the docs had a note for that but we could follow-up later.
@bors: r+ |
📌 Commit c9b9ef0 has been approved by |
☀️ Test successful - checks-travis |
To avoid the need to set up a local nginx configuration during
development, this commit adds a simple proxy for frontend requests when
USE_FASTBOOT=staging-experimental
is set.When enabled, developers should browse to http://localhost:8888/
(instead of port 4200 when using
npm run start:local
).