Skip to content

Commit bf30e4b

Browse files
committed
fix: changed basepath
1 parent d9a7c90 commit bf30e4b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

next.config.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { NextConfig } from "next";
22

3-
const isProd = process.env.NODE_ENV === 'production';
3+
const isProd = process.env.NODE_ENV === "production";
44

55
const nextConfig: NextConfig = {
66
typescript: {
@@ -16,10 +16,9 @@ const nextConfig: NextConfig = {
1616
images: {
1717
unoptimized: true, // Disable default image optimization
1818
},
19-
assetPrefix: isProd ? '/altair_dashboard' : '',
20-
basePath: isProd ? '/altair_dashboard' : '',
21-
output: 'export',
19+
// assetPrefix: isProd ? '/altair_dashboard' : '',
20+
// basePath: isProd ? '/altair_dashboard' : '',
21+
output: "export",
2222
};
2323

2424
export default nextConfig;
25-

0 commit comments

Comments
 (0)