Fix asset prefix (#555)

This commit is contained in:
Eduard Gert
2026-01-16 17:59:18 +01:00
committed by GitHub
parent 157f390c6c
commit 1dd22c0a41

View File

@@ -14,11 +14,9 @@ const withMDX = nextMDX({
})
const isProd = process.env.NODE_ENV === 'production'
/** @type {import('next').NextConfig} */
const nextConfig = {
assetPrefix: isProd ? '/docs-static' : undefined,
assetPrefix: undefined,
reactStrictMode: true,
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'mdx'],
experimental: {