Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetReferPolicy (0.56 sec)

  1. internal/config/browser/browser.go

    	configLock.RLock()
    	defer configLock.RUnlock()
    	if browseCfg.HSTSSeconds > 0 && browseCfg.HSTSPreload {
    		return config.EnableOn
    	}
    	return config.EnableOff
    }
    
    // GetReferPolicy - Get the ReferPolicy
    func (browseCfg *Config) GetReferPolicy() string {
    	configLock.RLock()
    	defer configLock.RUnlock()
    	return browseCfg.ReferrerPolicy
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 00:58:58 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. cmd/common-main.go

    		os.Setenv("CONSOLE_SECURE_STS_INCLUDE_SUB_DOMAINS", isubdom)
    		os.Setenv("CONSOLE_SECURE_STS_PRELOAD", isprel)
    	}
    
    	if valueRefer := globalBrowserConfig.GetReferPolicy(); valueRefer != "" {
    		os.Setenv("CONSOLE_SECURE_REFERRER_POLICY", valueRefer)
    	}
    
    	globalSubnetConfig.ApplyEnv()
    }
    
    func buildOpenIDConsoleConfig() consoleoauth2.OpenIDPCfg {
    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