add v3 basePath

This commit is contained in:
Amirhossein Mahmoodi
2024-08-05 13:51:10 +03:30
parent f4c1a1687c
commit a32bcc0161
61 changed files with 198 additions and 190 deletions

View File

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