for deploy
This commit is contained in:
0
.env.local.example
Normal file
0
.env.local.example
Normal file
2
.gitignore
vendored
2
.gitignore
vendored
@@ -27,7 +27,7 @@ node_modules
|
|||||||
cypress/videos
|
cypress/videos
|
||||||
cypress/screenshots
|
cypress/screenshots
|
||||||
.next
|
.next
|
||||||
.env*
|
.env.local
|
||||||
.env
|
.env
|
||||||
.idea
|
.idea
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
|
const isProd = process.env.NODE_ENV === 'production'
|
||||||
|
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {};
|
const nextConfig = {
|
||||||
|
assetPrefix: isProd ? '/v3' : undefined,
|
||||||
|
};
|
||||||
|
|
||||||
export default nextConfig;
|
export default nextConfig;
|
||||||
|
|||||||
Reference in New Issue
Block a user