Hide cname and ns if not using dns

This commit is contained in:
Owen
2025-10-13 14:21:50 -07:00
parent 9af206b69a
commit 19210cbf7d
7 changed files with 13 additions and 13 deletions

View File

@@ -49,8 +49,8 @@ export function pullEnv(): Env {
process.env.FLAGS_ENABLE_CLIENTS === "true" ? true : false,
hideSupporterKey:
process.env.HIDE_SUPPORTER_KEY === "true" ? true : false,
generateOwnCertificates:
process.env.GENERATE_OWN_CERTIFICATES === "true"
usePangolinDns:
process.env.USE_PANGOLIN_DNS === "true"
? true
: false
},

View File

@@ -28,7 +28,7 @@ export type Env = {
disableBasicWireguardSites: boolean;
enableClients: boolean;
hideSupporterKey: boolean;
generateOwnCertificates: boolean;
usePangolinDns: boolean;
},
branding: {
appName?: string;