- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetCSPolicy (0.13 sec)
-
internal/config/browser/browser.go
cfg.ReferrerPolicy = referrerPolicy default: return cfg, fmt.Errorf("invalid value %v for %s", referrerPolicy, browserReferrerPolicy) } return cfg, nil } // GetCSPolicy - Get the Content security Policy func (browseCfg *Config) GetCSPolicy() string { configLock.RLock() defer configLock.RUnlock() return browseCfg.CSPPolicy } // GetHSTSSeconds - Get the Content security Policy
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 21 00:58:58 UTC 2024 - 5.9K bytes - Viewed (0) -
cmd/common-main.go
os.Setenv("CONSOLE_MINIO_REGION", globalSite.Region()) os.Setenv("CONSOLE_CERT_PASSWD", env.Get("MINIO_CERT_PASSWD", "")) // This section sets Browser (console) stored config if valueSCP := globalBrowserConfig.GetCSPolicy(); valueSCP != "" { os.Setenv("CONSOLE_SECURE_CONTENT_SECURITY_POLICY", valueSCP) } if hstsSeconds := globalBrowserConfig.GetHSTSSeconds(); hstsSeconds > 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 31.7K bytes - Viewed (0)