Skip to content

Commit eb2cae2

Browse files
heisbrotshuuri-labs
authored andcommitted
Fix asset prefix (#555)
1 parent 647b044 commit eb2cae2

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

next.config.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@ const withMDX = nextMDX({
1414
})
1515

1616

17-
const isProd = process.env.NODE_ENV === 'production'
18-
1917
/** @type {import('next').NextConfig} */
2018
const nextConfig = {
21-
assetPrefix: isProd ? '/docs-static' : undefined,
19+
assetPrefix: undefined,
2220
reactStrictMode: true,
2321
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'mdx'],
2422
experimental: {

0 commit comments

Comments
 (0)