This commit is contained in:
Amirhossein Mahmoodi
2024-07-10 14:14:09 +03:30
parent 6154b8567f
commit 2a4359ff24
5 changed files with 7 additions and 4 deletions

View File

@@ -3,6 +3,9 @@ const isProd = process.env.NODE_ENV === 'production'
/** @type {import('next').NextConfig} */
const nextConfig = {
assetPrefix: isProd ? '/v3' : undefined,
images: {
path: isProd ? '/v3/_next/image' : undefined,
}
};
export default nextConfig;