Server Action Redirect Fails on Absolute URLs from the Same Host #74732
Unanswered
giulianovarriale
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
We have multiple apps running under the same host and need to redirect users to different applications on specific actions. However, Next.js assumes all redirects within the same host belong to the same application, leading it to resolve and stream the route itself. This behavior results in a "Not Found" page when the target route belongs to a different application.
I found a related issue: #64413 and its corresponding fix: #64604. However, I don’t understand how this fix could help without the need to set a base path and configure some rewrites which is not optimal for my use case.
Questions:
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions