Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetCSPolicy (0.1 sec)

  1. 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)
Back to top