Add global branding config field to control cookie banner default

Introduces a BRANDING boolean config (default true) propagated through
the standard config pipeline. Cookie banners now initialize their
show_branding column from this config instead of hardcoding true.

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-04-22 15:41:11 +04:00
parent 680e60b6e9
commit 4313930ae9
6 changed files with 21 additions and 5 deletions

View File

@@ -225,6 +225,7 @@ func (b *Builder) Build() (*probod.FullConfig, error) {
ESign: probod.ESignConfig{
TSAURL: b.getEnvOrDefault("ESIGN_TSA_URL", "http://timestamp.digicert.com"),
},
Branding: b.getEnvBoolOrDefault("BRANDING", true),
},
}