mirror of
				https://github.com/TeaOSLab/EdgeNode.git
				synced 2025-11-04 16:00:25 +08:00 
			
		
		
		
	在开发模式下重启时不重载临时IP白名单
This commit is contained in:
		@@ -45,8 +45,10 @@ func init() {
 | 
			
		||||
 | 
			
		||||
	// load
 | 
			
		||||
	go func() {
 | 
			
		||||
		if !Tea.IsTesting() {
 | 
			
		||||
			_ = SharedIPWhiteList.Load(cacheFile)
 | 
			
		||||
			_ = os.Remove(cacheFile)
 | 
			
		||||
		}
 | 
			
		||||
	}()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user