Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 5bdd522

Browse files
authored
remove duplicate key (#632)
1 parent c94ceb6 commit 5bdd522

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

next.config.mjs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ const withMDX = nextMDX({
77
options: mdxOptions,
88
})
99

10-
const isProd = process.env.NEXT_PUBLIC_VERCEL_ENV === 'production'
11-
1210
/** @type {import('next').NextConfig} */
1311
const nextConfig = {
1412
basePath: '/docs',
@@ -18,8 +16,9 @@ const nextConfig = {
1816
'/**/*': ['./src/app/**/*.mdx'],
1917
},
2018
serverActions: {
21-
allowedOrigins: ['nitric.io', '*.nitric.io'],
19+
allowedOrigins: ['nitric.io'],
2220
},
21+
scrollRestoration: true,
2322
},
2423
images: {
2524
remotePatterns: [
@@ -626,9 +625,6 @@ const nextConfig = {
626625
},
627626
]
628627
},
629-
experimental: {
630-
scrollRestoration: true,
631-
},
632628
}
633629

634630
const withContentlayer = createContentlayerPlugin({

0 commit comments

Comments
 (0)