From 6ae82edf70bf67f8fac44a879ca3b25931e08053 Mon Sep 17 00:00:00 2001 From: Johan Siebens Date: Tue, 17 May 2022 22:51:25 +0200 Subject: [PATCH] chore: load certmagic async --- internal/server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }