From 2cff14226620fd66ed89859a774941546430bdbd Mon Sep 17 00:00:00 2001 From: Owen Date: Mon, 13 Oct 2025 14:42:23 -0700 Subject: [PATCH] Use Pangolin DNS fix --- server/private/lib/config.ts | 2 +- src/components/ResourceInfoBox.tsx | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/server/private/lib/config.ts b/server/private/lib/config.ts index dc9f932a..dd32e313 100644 --- a/server/private/lib/config.ts +++ b/server/private/lib/config.ts @@ -147,7 +147,7 @@ export class PrivateConfig { process.env.S3_REGION = parsedPrivateConfig.stripe.s3Region; } if (parsedPrivateConfig.flags.use_pangolin_dns) { - process.env.GENERATE_OWN_CERTIFICATES = + process.env.USE_PANGOLIN_DNS = parsedPrivateConfig.flags.use_pangolin_dns.toString(); } } diff --git a/src/components/ResourceInfoBox.tsx b/src/components/ResourceInfoBox.tsx index e04e3101..96954be4 100644 --- a/src/components/ResourceInfoBox.tsx +++ b/src/components/ResourceInfoBox.tsx @@ -31,11 +31,7 @@ export default function ResourceInfoBox({}: ResourceInfoBoxType) { {/* 4 cols because of the certs */} {resource.http ? ( <> @@ -137,8 +133,7 @@ export default function ResourceInfoBox({}: ResourceInfoBoxType) { {resource.http && resource.domainId && resource.fullDomain && - env.flags.usePangolinDns && - build != "oss" && ( + env.flags.usePangolinDns && ( {t("certificateStatus", {