mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-10 01:10:29 +08:00
限制TCP和UDP网站操作HTTP网站的功能
This commit is contained in:
@@ -50,7 +50,7 @@ func (this *ServerHelper) createLeftMenu(action *actions.ActionObject) {
|
||||
if serverId == 0 {
|
||||
return
|
||||
}
|
||||
serverIdString := strconv.FormatInt(serverId, 10)
|
||||
var serverIdString = strconv.FormatInt(serverId, 10)
|
||||
action.Data["serverId"] = serverId
|
||||
|
||||
// 读取server信息
|
||||
@@ -95,7 +95,7 @@ func (this *ServerHelper) createLeftMenu(action *actions.ActionObject) {
|
||||
}
|
||||
|
||||
// 协议簇
|
||||
family := ""
|
||||
var family = ""
|
||||
if serverConfig.IsHTTPFamily() {
|
||||
family = "http"
|
||||
} else if serverConfig.IsTCPFamily() {
|
||||
|
||||
Reference in New Issue
Block a user