Skip to content
Discussion options

You must be logged in to vote

Hey @amannn, thanks for the quick response, I've prepared a repo: https://github.com/lazakrisz/intl-redirect. I've also done some experimentation, which I left in the repo. I added two paths,

I'm also just noticing some weird flashing issues when the server action does the actual redirect. This could entirely be due to the same thing you have pointed out with next's redirect although I fail to understand why a server function's redirect would cause / trigger a client side redirect with all that "flashing" / "flickering". I did find this: vercel/next.js#57455 maybe its related? 🤔
I checked the headers, and this is what I get back in the response headers:

HTTP/1.1 303 See Other
Vary: RSC, N…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@lazakrisz
Comment options

Answer selected by lazakrisz
@amannn
Comment options

@lazakrisz
Comment options

@amannn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants