all repos — website @ a7b9a089b0ec645fec1ee21e0fb48194483957a2

My website

fix oops
Alan Pearce alan@alanpearce.eu
Mon, 09 Dec 2024 17:28:00 +0100
commit

a7b9a089b0ec645fec1ee21e0fb48194483957a2

parent

5206e83b04e01a45f21fdb8e8e7b5731693d82fd

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M internal/server/tls.gointernal/server/tls.go
@@ -97,7 +97,7 @@ rs.KeyPrefix = rc.KeyPrefix 		rs.TlsEnabled = rc.TLSEnabled
 		rs.TlsInsecure = rc.TLSInsecure
 
-		certmagic.Default.Storage = rs
+		cfg.Storage = rs
 		err = rs.ProvisionCertMagic(context.TODO(), log.GetLogger())
 		if err != nil {
 			return errors.WithMessage(err, "could not provision redis storage")