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", {