From 3170605d9af6802754d62769b58fb002d14a86dd Mon Sep 17 00:00:00 2001 From: Igor Loskutov Date: Thu, 4 Sep 2025 11:58:22 -0400 Subject: [PATCH] ci randomness --- www/app/lib/edgeConfig.ts | 2 +- www/next.config.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/www/app/lib/edgeConfig.ts b/www/app/lib/edgeConfig.ts index 69925796..15ec9689 100644 --- a/www/app/lib/edgeConfig.ts +++ b/www/app/lib/edgeConfig.ts @@ -32,7 +32,7 @@ export function edgeDomainToKey(domain: string) { export async function getConfig() { const domain = new URL(process.env.NEXT_PUBLIC_SITE_URL!).hostname; - if (isCI || isBuildPhase) { + if (isCI) { // "noop" return require("../../config-template").localConfig; } diff --git a/www/next.config.js b/www/next.config.js index e37d5402..bbc3f710 100644 --- a/www/next.config.js +++ b/www/next.config.js @@ -2,6 +2,9 @@ const nextConfig = { output: "standalone", experimental: { esmExternals: "loose" }, + env: { + IS_CI: process.env.IS_CI, + }, }; module.exports = nextConfig;