修复申请部署

pull/79/head^2
zhangchenhao 2025-05-12 19:55:48 +08:00
parent 79c04f7b00
commit 0252451ed1
1 changed files with 4 additions and 5 deletions

View File

@ -12,7 +12,6 @@ import (
"github.com/go-acme/lego/v4/certcrypto" "github.com/go-acme/lego/v4/certcrypto"
"github.com/go-acme/lego/v4/certificate" "github.com/go-acme/lego/v4/certificate"
"github.com/go-acme/lego/v4/challenge" "github.com/go-acme/lego/v4/challenge"
"github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v4/lego" "github.com/go-acme/lego/v4/lego"
"github.com/go-acme/lego/v4/providers/dns/alidns" "github.com/go-acme/lego/v4/providers/dns/alidns"
"github.com/go-acme/lego/v4/providers/dns/baiducloud" "github.com/go-acme/lego/v4/providers/dns/baiducloud"
@ -237,10 +236,10 @@ func Apply(cfg map[string]any, logger *public.Logger) (map[string]any, error) {
// // 跳过预检查 // // 跳过预检查
// return true, nil // return true, nil
// }), // }),
dns01.AddRecursiveNameservers([]string{ // dns01.AddRecursiveNameservers([]string{
"8.8.8.8:53", // "8.8.8.8:53",
"1.1.1.1:53", // "1.1.1.1:53",
}), // }),
) )
if err != nil { if err != nil {
return nil, err return nil, err