diff --git a/.env.local.example b/.env.local.example new file mode 100644 index 0000000..e69de29 diff --git a/.gitignore b/.gitignore index 2d5bbdd..19f7fa0 100644 --- a/.gitignore +++ b/.gitignore @@ -27,7 +27,7 @@ node_modules cypress/videos cypress/screenshots .next -.env* +.env.local .env .idea package-lock.json diff --git a/next.config.mjs b/next.config.mjs index 4678774..bb49d74 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -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;