add flag to disable product help banners

This commit is contained in:
miloschwartz
2025-12-23 13:33:24 -05:00
committed by Owen Schwartz
parent d6e0024c96
commit 8732e50047
5 changed files with 20 additions and 3 deletions

View File

@@ -59,7 +59,11 @@ export function pullEnv(): Env {
hideSupporterKey:
process.env.HIDE_SUPPORTER_KEY === "true" ? true : false,
usePangolinDns:
process.env.USE_PANGOLIN_DNS === "true" ? true : false
process.env.USE_PANGOLIN_DNS === "true" ? true : false,
disableProductHelpBanners:
process.env.FLAGS_DISABLE_PRODUCT_HELP_BANNERS === "true"
? true
: false
},
branding: {

View File

@@ -33,6 +33,7 @@ export type Env = {
disableBasicWireguardSites: boolean;
hideSupporterKey: boolean;
usePangolinDns: boolean;
disableProductHelpBanners: boolean;
};
branding: {
appName?: string;