|
@@ -1,14 +1,11 @@
|
|
const isProd = process.env.NODE_ENV === "production";
|
|
const isProd = process.env.NODE_ENV === "production";
|
|
-const assetPrefix = isProd ? '/jsonvisio.com' : ''
|
|
|
|
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
const nextConfig = {
|
|
- basePath: '/jsonvisio.com',
|
|
|
|
exportPathMap: () => ({
|
|
exportPathMap: () => ({
|
|
'/': { page: '/' },
|
|
'/': { page: '/' },
|
|
'/editor': { page: '/editor' },
|
|
'/editor': { page: '/editor' },
|
|
}),
|
|
}),
|
|
- assetPrefix,
|
|
|
|
reactStrictMode: true,
|
|
reactStrictMode: true,
|
|
trailingSlash: true,
|
|
trailingSlash: true,
|
|
};
|
|
};
|