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; process.env.S3_REGION = parsedPrivateConfig.stripe.s3Region;
} }
if (parsedPrivateConfig.flags.use_pangolin_dns) { if (parsedPrivateConfig.flags.use_pangolin_dns) {
process.env.GENERATE_OWN_CERTIFICATES = process.env.USE_PANGOLIN_DNS =
parsedPrivateConfig.flags.use_pangolin_dns.toString(); parsedPrivateConfig.flags.use_pangolin_dns.toString();
} }
} }

View File

@@ -31,11 +31,7 @@ export default function ResourceInfoBox({}: ResourceInfoBoxType) {
<AlertDescription> <AlertDescription>
{/* 4 cols because of the certs */} {/* 4 cols because of the certs */}
<InfoSections <InfoSections
cols={ cols={resource.http && env.flags.usePangolinDns ? 4 : 3}
resource.http && env.flags.usePangolinDns
? 4
: 3
}
> >
{resource.http ? ( {resource.http ? (
<> <>
@@ -137,8 +133,7 @@ export default function ResourceInfoBox({}: ResourceInfoBoxType) {
{resource.http && {resource.http &&
resource.domainId && resource.domainId &&
resource.fullDomain && resource.fullDomain &&
env.flags.usePangolinDns && env.flags.usePangolinDns && (
build != "oss" && (
<InfoSection> <InfoSection>
<InfoSectionTitle> <InfoSectionTitle>
{t("certificateStatus", { {t("certificateStatus", {