From 3cf71adcfdedc3a7839c2c3730534b2da65b0fd4 Mon Sep 17 00:00:00 2001 From: basstian-ai Date: Tue, 20 May 2025 14:34:07 +0200 Subject: [PATCH] Update next.config.ts --- next.config.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/next.config.ts b/next.config.ts index 42d1630da..f0e4d85df 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,8 +1,4 @@ -process.env.COMMERCE_PROVIDER ??= 'local'; -// 🔧 fallback so the build never crashes if COMMERCE_PROVIDER is missing -if (!process.env.COMMERCE_PROVIDER) { - process.env.COMMERCE_PROVIDER = 'local'; -} +process.env.COMMERCE_PROVIDER = process.env.COMMERCE_PROVIDER || 'local'; export default { experimental: { ppr: true,