mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-05-02 13:05:20 +08:00
源站支持HTTP/2
This commit is contained in:
@@ -70,9 +70,10 @@ func (this *AddPopupAction) RunPost(params struct {
|
||||
|
||||
CertIdsJSON []byte
|
||||
|
||||
DomainsJSON []byte
|
||||
Host string
|
||||
FollowPort bool
|
||||
DomainsJSON []byte
|
||||
Host string
|
||||
FollowPort bool
|
||||
Http2Enabled bool
|
||||
|
||||
Description string
|
||||
IsOn bool
|
||||
@@ -248,6 +249,7 @@ func (this *AddPopupAction) RunPost(params struct {
|
||||
Domains: domains,
|
||||
Host: params.Host,
|
||||
FollowPort: params.FollowPort,
|
||||
Http2Enabled: params.Http2Enabled,
|
||||
})
|
||||
if err != nil {
|
||||
this.ErrorPage(err)
|
||||
|
||||
@@ -115,6 +115,7 @@ func (this *UpdatePopupAction) RunGet(params struct {
|
||||
"domains": config.Domains,
|
||||
"host": config.RequestHost,
|
||||
"followPort": config.FollowPort,
|
||||
"http2Enabled": config.HTTP2Enabled,
|
||||
"oss": config.OSS,
|
||||
}
|
||||
|
||||
@@ -142,9 +143,10 @@ func (this *UpdatePopupAction) RunPost(params struct {
|
||||
|
||||
CertIdsJSON []byte
|
||||
|
||||
DomainsJSON []byte
|
||||
Host string
|
||||
FollowPort bool
|
||||
DomainsJSON []byte
|
||||
Host string
|
||||
FollowPort bool
|
||||
Http2Enabled bool
|
||||
|
||||
Description string
|
||||
IsOn bool
|
||||
@@ -323,6 +325,7 @@ func (this *UpdatePopupAction) RunPost(params struct {
|
||||
Domains: domains,
|
||||
Host: params.Host,
|
||||
FollowPort: params.FollowPort,
|
||||
Http2Enabled: params.Http2Enabled,
|
||||
})
|
||||
if err != nil {
|
||||
this.ErrorPage(err)
|
||||
|
||||
Reference in New Issue
Block a user