mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2026-03-05 06:45:37 +08:00
优化代码
This commit is contained in:
@@ -713,4 +713,9 @@ func (this *Node) onReload(config *nodeconfigs.NodeConfig) {
|
||||
time.Local = location
|
||||
this.timezone = timeZone
|
||||
}
|
||||
|
||||
// product information
|
||||
if config.ProductConfig != nil {
|
||||
teaconst.GlobalProductName = config.ProductConfig.Name
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user