Skip to content

Commit 1751b6f

Browse files
authored
no_prefix
trying to fix demo assets
2 parents 2892e46 + 8470d22 commit 1751b6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/next-js/next.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ import type { NextConfig } from "next";
22

33
const isProd = process.env.NODE_ENV === 'production';
44
const basePath = isProd ? (process.env.BASE_PATH || '') : '';
5-
const assetPrefix = isProd ? (basePath ? `${basePath.replace(/\/$/, '')}/` : './') : '';
5+
// const assetPrefix = isProd ? (basePath ? `${basePath.replace(/\/$/, '')}/` : './') : '';
66

77
const nextConfig: NextConfig = {
88
/* config options here */
99
output: 'export' as const,
1010
basePath: basePath,
1111
trailingSlash: true,
12-
assetPrefix: assetPrefix,
12+
// assetPrefix: assetPrefix,
1313
images: {
1414
unoptimized: true,
1515
},

0 commit comments

Comments
 (0)