Skip to content

Commit

Permalink
chore: load certmagic async
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiebens committed May 17, 2022
1 parent 0a9aab7 commit 6ae82ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 6ae82ed

Please sign in to comment.