mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 13:10:26 +08:00 
			
		
		
		
	恢复默认检查区域
This commit is contained in:
		@@ -87,7 +87,7 @@ func loadSecurityConfig() (*systemconfigs.SecurityConfig, error) {
 | 
			
		||||
		Frame:                  FrameSameOrigin,
 | 
			
		||||
		AllowLocal:             true,
 | 
			
		||||
		CheckClientFingerprint: false,
 | 
			
		||||
		CheckClientRegion:      false,
 | 
			
		||||
		CheckClientRegion:      true,
 | 
			
		||||
	}
 | 
			
		||||
	err = json.Unmarshal(resp.ValueJSON, config)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
@@ -108,6 +108,6 @@ func defaultSecurityConfig() *systemconfigs.SecurityConfig {
 | 
			
		||||
		Frame:                  FrameSameOrigin,
 | 
			
		||||
		AllowLocal:             true,
 | 
			
		||||
		CheckClientFingerprint: false,
 | 
			
		||||
		CheckClientRegion:      false,
 | 
			
		||||
		CheckClientRegion:      true,
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user