amannn / next-intl

🌐 Internationalization (i18n) for Next.js
https://next-intl-docs.vercel.app
MIT License
2.58k stars 236 forks source link

docs: Update mixed routing example with improved compatibility for Server Actions #1187

Closed imCorfitz closed 4 months ago

imCorfitz commented 4 months ago

Passing the request headers as response headers messes with server actions. https://github.com/vercel/next.js/issues/50659

We need to pass the updated request headers to the NextResponse's request object.

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
next-intl-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 10, 2024 0:26am
next-intl-example-app-router ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 10, 2024 0:26am
next-intl-example-app-router-without-i18n-routing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 10, 2024 0:26am
vercel[bot] commented 4 months ago

@imCorfitz is attempting to deploy a commit to the next-intl Team on Vercel.

A member of the Team first needs to authorize it.