diff --git a/internal/server/server.go b/internal/server/server.go index cdba9475..d1745123 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -72,7 +72,7 @@ func Start(config *config.Config) error { } cfg := certmagic.NewDefault() - if err := cfg.ManageSync(context.Background(), []string{config.Tls.CertMagicDomain}); err != nil { + if err := cfg.ManageAsync(context.Background(), []string{config.Tls.CertMagicDomain}); err != nil { return err }