mirror of
https://github.com/fosrl/pangolin.git
synced 2025-10-30 14:17:30 +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;
|
||||
}
|
||||
if (parsedPrivateConfig.flags.use_pangolin_dns) {
|
||||
process.env.GENERATE_OWN_CERTIFICATES =
|
||||
process.env.USE_PANGOLIN_DNS =
|
||||
parsedPrivateConfig.flags.use_pangolin_dns.toString();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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", {
|
||||
|
||||
Reference in New Issue
Block a user