diff --git a/next.config.js b/next.config.js index 7bf596d..30b372c 100644 --- a/next.config.js +++ b/next.config.js @@ -7,9 +7,9 @@ const nextConfig = { buildActivity: false, }, // Access the NEXT_PUBLIC_BASE_PATH environment variable - basePath: process.env.NEXT_PUBLIC_BASE_PATH || '', // Default to empty if not defined + basePath: process.env.NEXT_PUBLIC_BASE_PATH || undefined, // Default to empty if not defined // You can also use assetPrefix to set the base path for static assets - assetPrefix: process.env.NEXT_PUBLIC_BASE_PATH || '', + assetPrefix: process.env.NEXT_PUBLIC_BASE_PATH || undefined, }; module.exports = nextConfig;