Disable basePath and assetPrefix configuration
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user