域名跳转增加忽略跳转前端口选项

This commit is contained in:
GoEdgeLab
2022-11-04 20:59:20 +08:00
parent 776bc95d3b
commit 00a31df3ba
4 changed files with 15 additions and 4 deletions

View File

@@ -39,10 +39,11 @@ func (this *CreatePopupAction) RunPost(params struct {
KeepArgs bool
// 域名
DomainsAll bool
DomainsBeforeJSON []byte
DomainAfter string
DomainAfterScheme string
DomainsAll bool
DomainsBeforeJSON []byte
DomainBeforeIgnorePorts bool
DomainAfter string
DomainAfterScheme string
// 端口
PortsAll bool
@@ -128,6 +129,7 @@ func (this *CreatePopupAction) RunPost(params struct {
return
}
}
config.DomainBeforeIgnorePorts = params.DomainBeforeIgnorePorts
if len(params.DomainAfter) == 0 {
this.FailField("domainAfter", "请输入跳转后域名")
return