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