|
@@ -465,10 +465,10 @@ func (s *webForwardingService) EditWebForwarding(ctx context.Context, req *v1.We
|
|
|
var typeJson []byte
|
|
|
var apiType string
|
|
|
if req.WebForwardingData.IsHttps == isHttps {
|
|
|
- typeJson = formData.HttpJSON
|
|
|
+ typeJson = formData.HttpsJSON
|
|
|
apiType = protocolHttps
|
|
|
}else {
|
|
|
- typeJson = formData.HttpsJSON
|
|
|
+ typeJson = formData.HttpJSON
|
|
|
apiType = protocolHttp
|
|
|
}
|
|
|
err = s.cdn.EditServerType(ctx, v1.EditWebsite{
|