mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-14 20:30:25 +08:00
将全局设置的TCP相关设置移到“集群设置--网站设置”中
This commit is contained in:
@@ -1,3 +1,20 @@
|
||||
Tea.context(function () {
|
||||
this.success = NotifyReloadSuccess("保存成功")
|
||||
|
||||
/**
|
||||
* TCP端口
|
||||
*/
|
||||
this.tcpAllPortRangeMin = 10000
|
||||
this.tcpAllPortRangeMax = 40000
|
||||
if (this.config.tcpAll.portRangeMin > 0) {
|
||||
this.tcpAllPortRangeMin = this.config.tcpAll.portRangeMin
|
||||
}
|
||||
if (this.config.tcpAll.portRangeMax > 0) {
|
||||
this.tcpAllPortRangeMax = this.config.tcpAll.portRangeMax
|
||||
}
|
||||
|
||||
this.tcpAllDenyPorts = []
|
||||
if (this.config.tcpAll.denyPorts != null) {
|
||||
this.tcpAllDenyPorts = this.config.tcpAll.denyPorts
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user