mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-07 11:16:37 +00:00
Use Pangolin DNS fix
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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", {
|
||||||
|
|||||||
Reference in New Issue
Block a user