Skip to content

Commit 8665e01

Browse files
committed
fix
1 parent d030cac commit 8665e01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/web_acme.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func runACME(listenAddr string, m http.Handler) error {
5454
altTLSALPNPort = p
5555
}
5656

57-
magic := certmagic.NewDefault()
57+
magic := &certmagic.Default
5858
magic.Storage = &certmagic.FileStorage{Path: setting.AcmeLiveDirectory}
5959
// Try to use private CA root if provided, otherwise defaults to system's trust
6060
var certPool *x509.CertPool

0 commit comments

Comments
 (0)