cf 默认不跳过预检查

This commit is contained in:
zhangchenhao
2025-05-16 15:06:40 +08:00
parent 8f8f352c6b
commit a286500c05
3 changed files with 25 additions and 20 deletions

View File

@@ -135,7 +135,12 @@ func Apply(cfg map[string]any, logger *public.Logger) (map[string]any, error) {
var skipCheck bool
if cfg["skip_check"] == nil {
// 默认跳过预检查
skipCheck = true
// cf 默认不跳过预检查
if providerStr == "cloudflare" {
skipCheck = false
}
} else {
switch v := cfg["skip_check"].(type) {
case int: