Next.js Discord

Discord Forum

I am curious that redirect() in server action works differently between production and development.

Unanswered
Yongho Lee posted this in #help-forum
Open in Discord
I found that ⁠redirect() in server actions works differently between production and development environments. In production, a server action request that redirects to '/test' returns a 303 Response that has RSC payloads. However, in development, despite this, an unknown request with an RSC payload still occurs. Does it work correctly?

https://github.com/vercel/next.js/issues/77010

0 Replies