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

[WiP] Proxy backend requests on '/' to the frontend #3300

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

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

If the optional extra `proxy` is installed, then the backend can handle all
requests by proxy unrecognized routes to the frontend nextjs server.
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.

None yet

1 participant