|
@@ -424,7 +424,7 @@ func (s *ZoneServer) CreateZone(ctx context.Context, requestCloudflare *zone.Cre
|
|
|
return nil, err
|
|
|
}
|
|
|
|
|
|
- createZone, err := api.CreateZone(ctxAPI, requestCloudflare.GetDomain(), false, account, "partial")
|
|
|
+ createZone, err := api.CreateZone(ctxAPI, requestCloudflare.GetDomain(), false, account, "full")
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -613,6 +613,7 @@ func (s *ZoneServer) GetRuleSet(ctx context.Context, requestCloudflare *zone.Get
|
|
|
}
|
|
|
ctxAPI := context.Background()
|
|
|
switch phaseMap[requestCloudflare.Phase] {
|
|
|
+ case "http_request_origin", "http_request_cache_settings", "http_config_settings":
|
|
|
case "http_request_transform", "http_request_late_transform", "http_response_headers_transform":
|
|
|
default:
|
|
|
return nil, errors.New("未定义规则阶段")
|