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:
@@ -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),
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user