Closed
Description
Next.js version : 15.0.1
OpenNext v3.2.2
configuring i18n in pages router adds locale prefix to routes which fails workaround fixCacheHeaderForHtmlPages in
const nextConfig: NextConfig = {
i18n: {
locales: ["en"],
defaultLocale: "en",
},
};
with new .next/server/pages-manifest.json
{
"/_app": "pages/_app.js",
"/api/trpc/[trpc]": "pages/api/trpc/[trpc].js",
"/_error": "pages/_error.js",
"/_document": "pages/_document.js",
"/en/404": "pages/en/404.html",
"/en/500": "pages/en/500.html",
"/en": "pages/en.html"
}
Build Output is the same
Metadata
Metadata
Assignees
Labels
No labels