mirror of
https://github.com/vercel/commerce.git
synced 2025-06-03 06:46:59 +00:00
Update next.config.ts
This commit is contained in:
parent
9dfd0fb20f
commit
90b590f8a4
@ -1,3 +1,4 @@
|
|||||||
|
process.env.COMMERCE_PROVIDER ??= 'local';
|
||||||
// 🔧 fallback so the build never crashes if COMMERCE_PROVIDER is missing
|
// 🔧 fallback so the build never crashes if COMMERCE_PROVIDER is missing
|
||||||
if (!process.env.COMMERCE_PROVIDER) {
|
if (!process.env.COMMERCE_PROVIDER) {
|
||||||
process.env.COMMERCE_PROVIDER = 'local';
|
process.env.COMMERCE_PROVIDER = 'local';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user