We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1c78fa commit 784eb51Copy full SHA for 784eb51
1 file changed
next.config.ts
@@ -1,8 +1,11 @@
1
import type { NextConfig } from "next";
2
3
+const isProd = process.env.NODE_ENV === 'production';
4
+
5
const nextConfig: NextConfig = {
6
/* config options here */
7
output: "export",
8
+ basePath: isProd ? "/traeweb1" : "",
9
images: {
10
unoptimized: true,
11
},
0 commit comments