mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This fixes a case with i18n in pages router with deeply nested mixed `fallback: false` and `fallback: 'blocking'` routes where the internal `NoFallbackError` would be bubbled outside of the server handler causing the invariant to leak instead of rendering the 404 page like expected. Verified against our E2E deploy tests here https://github.com/vercel/vercel/actions/runs/16586881087/job/46913897238 and https://github.com/vercel/next.js/actions/runs/16586877291/job/46913935296 Closes: NEXT-4655
14 lines
223 B
TypeScript
14 lines
223 B
TypeScript
import type { NextConfig } from 'next'
|
|
|
|
const nextConfig: NextConfig = {
|
|
/* config options here */
|
|
reactStrictMode: true,
|
|
|
|
i18n: {
|
|
defaultLocale: 'en',
|
|
locales: ['en', 'es'],
|
|
},
|
|
}
|
|
|
|
export default nextConfig
|