Use Pangolin DNS fix

This commit is contained in:
Owen
2025-10-13 14:42:23 -07:00
parent 2c99cfacc0
commit 2cff142266
2 changed files with 3 additions and 8 deletions

View File

@@ -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();
}
}

View File

@@ -31,11 +31,7 @@ export default function ResourceInfoBox({}: ResourceInfoBoxType) {
<AlertDescription>
{/* 4 cols because of the certs */}
<InfoSections
cols={
resource.http && env.flags.usePangolinDns
? 4
: 3
}
cols={resource.http && env.flags.usePangolinDns ? 4 : 3}
>
{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 && (
<InfoSection>
<InfoSectionTitle>
{t("certificateStatus", {