Skip to content

Commit fa16c83

Browse files
committed
fix: remove all 307 redirections
1 parent ac70749 commit fa16c83

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

next.config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import nextra from 'nextra';
44

55
const withNextra = nextra({
66
defaultShowCopyCode: true,
7-
contentDirBasePath: '/'
7+
contentDirBasePath: '/',
8+
unstable_shouldAddLocaleToLinks: true
89
})
910

1011
const withBundleAnalyzer = bundleAnalyzer({
@@ -21,7 +22,8 @@ const nextConfig = withBundleAnalyzer(
2122
},
2223
i18n: {
2324
locales: ['en'],
24-
defaultLocale: 'en'
25+
defaultLocale: 'en',
26+
localeDetection: false
2527
},
2628
images: {
2729
remotePatterns: [

0 commit comments

Comments
 (0)