Skip to content
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

[ENG-4005] Proxy backend requests on '/' to the frontend #3300

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

masenf
Copy link
Collaborator

@masenf masenf commented May 14, 2024

If the optional extra proxy is installed, then the backend can handle all requests by proxy unrecognized routes to the frontend nextjs server.

First attempt at #3296, and it actually works surprisingly well; even with hot-reload in dev mode.

Future work:

  • don't set this up in backend-only mode (not sure how to detect this currently)
  • update the log output to make it more obvious what is happening

masenf added 3 commits May 13, 2024 21:29
If the optional extra `proxy` is installed, then the backend can handle all
requests by proxy unrecognized routes to the frontend nextjs server.
@masenf masenf changed the title [WiP] Proxy backend requests on '/' to the frontend [ENG-4005] Proxy backend requests on '/' to the frontend Nov 1, 2024
@masenf masenf marked this pull request as ready for review November 1, 2024 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant