mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	域名跳转增加忽略跳转前端口选项
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user