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
 | 
						// load
 | 
				
			||||||
	go func() {
 | 
						go func() {
 | 
				
			||||||
		_ = SharedIPWhiteList.Load(cacheFile)
 | 
							if !Tea.IsTesting() {
 | 
				
			||||||
		_ = os.Remove(cacheFile)
 | 
								_ = SharedIPWhiteList.Load(cacheFile)
 | 
				
			||||||
 | 
								_ = os.Remove(cacheFile)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
	}()
 | 
						}()
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user