mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-05-02 13:05:20 +08:00
实现源站端口跟随功能
This commit is contained in:
@@ -69,6 +69,7 @@ func (this *AddPopupAction) RunPost(params struct {
|
||||
|
||||
DomainsJSON []byte
|
||||
Host string
|
||||
FollowPort bool
|
||||
|
||||
Description string
|
||||
IsOn bool
|
||||
@@ -208,6 +209,7 @@ func (this *AddPopupAction) RunPost(params struct {
|
||||
CertRefJSON: certRefJSON,
|
||||
Domains: domains,
|
||||
Host: params.Host,
|
||||
FollowPort: params.FollowPort,
|
||||
})
|
||||
if err != nil {
|
||||
this.ErrorPage(err)
|
||||
|
||||
@@ -110,6 +110,7 @@ func (this *UpdatePopupAction) RunGet(params struct {
|
||||
"cert": config.Cert,
|
||||
"domains": config.Domains,
|
||||
"host": config.RequestHost,
|
||||
"followPort": config.FollowPort,
|
||||
}
|
||||
|
||||
this.Show()
|
||||
@@ -135,6 +136,7 @@ func (this *UpdatePopupAction) RunPost(params struct {
|
||||
|
||||
DomainsJSON []byte
|
||||
Host string
|
||||
FollowPort bool
|
||||
|
||||
Description string
|
||||
IsOn bool
|
||||
@@ -274,6 +276,7 @@ func (this *UpdatePopupAction) RunPost(params struct {
|
||||
CertRefJSON: certRefJSON,
|
||||
Domains: domains,
|
||||
Host: params.Host,
|
||||
FollowPort: params.FollowPort,
|
||||
})
|
||||
if err != nil {
|
||||
this.ErrorPage(err)
|
||||
|
||||
Reference in New Issue
Block a user