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

1 messages · Page 1 of 1 (latest)

still sigil
#

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

GitHub

Link to the code that reproduces this issue https://github.com/yongholeeme/reproduction-bug-redirect-in-server-action-between-prod-and-dev To Reproduce In developement Start the application in deve...