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

feature request: Support rewriting to an external URL #65

Closed
underyx opened this issue Mar 4, 2021 · 1 comment · Fixed by #120
Closed

feature request: Support rewriting to an external URL #65

underyx opened this issue Mar 4, 2021 · 1 comment · Fixed by #120
Labels
feature/next.js Missing feature from Next.js
Milestone

Comments

@underyx
Copy link
Contributor

underyx commented Mar 4, 2021

Seems like this doesn't work at the moment: https://nextjs.org/docs/api-reference/next.config.js/rewrites#rewriting-to-an-external-url

@ofhouse
Copy link
Member

ofhouse commented Mar 5, 2021

Interesting, thought that this was already supported, but looking at the code I see that we always change the endpoint back to the internal API-Gateway route 🙈

Anyway should be not a big deal since CloudFront should be able to handle such behaviour 👍

@ofhouse ofhouse added the feature/next.js Missing feature from Next.js label Mar 5, 2021
@ofhouse ofhouse added this to the v0.9.0 milestone Mar 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/next.js Missing feature from Next.js
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants