阶段性提交

This commit is contained in:
刘祥超
2020-09-13 20:37:07 +08:00
parent 9093019c73
commit ec3c0cafb3
155 changed files with 1317 additions and 13193 deletions

View File

@@ -2,7 +2,7 @@ package servers
import (
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/default/servers/serverutils"
"github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs"
"github.com/iwind/TeaGo/actions"
"github.com/iwind/TeaGo/maps"
"regexp"
@@ -20,7 +20,7 @@ func (this *AddPortPopupAction) Init() {
func (this *AddPortPopupAction) RunGet(params struct {
ServerType string
}) {
this.Data["protocols"] = serverutils.AllServerProtocolsForType(params.ServerType)
this.Data["protocols"] = serverconfigs.AllServerProtocolsForType(params.ServerType)
this.Show()
}