for deploy

This commit is contained in:
Amirhossein Mahmoodi
2024-05-18 10:41:54 +03:30
parent 0606463eda
commit ef551d0cf3
3 changed files with 6 additions and 2 deletions

0
.env.local.example Normal file
View File

2
.gitignore vendored
View File

@@ -27,7 +27,7 @@ node_modules
cypress/videos
cypress/screenshots
.next
.env*
.env.local
.env
.idea
package-lock.json

View File

@@ -1,4 +1,8 @@
const isProd = process.env.NODE_ENV === 'production'
/** @type {import('next').NextConfig} */
const nextConfig = {};
const nextConfig = {
assetPrefix: isProd ? '/v3' : undefined,
};
export default nextConfig;