Disable basePath and assetPrefix configuration

This commit is contained in:
2025-06-07 21:58:07 +02:00
parent f6024c743f
commit c0dc4ed296

View File

@@ -1,11 +1,11 @@
import type {NextConfig} from "next";
const isProd = process.env.NODE_ENV === 'production';
// const isProd = process.env.NODE_ENV === 'production';
const nextConfig: NextConfig = {
output: 'standalone',
basePath: isProd ? '/lawfirm-demos/demo1' : '',
assetPrefix: isProd ? '/lawfirm-demos/demo1' : '',
// basePath: isProd ? '/lawfirm-demos/demo1' : '',
// assetPrefix: isProd ? '/lawfirm-demos/demo1' : '',
};
export default nextConfig;