From a7b9a089b0ec645fec1ee21e0fb48194483957a2 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 9 Dec 2024 17:28:00 +0100 Subject: fix oops --- internal/server/tls.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/server/tls.go b/internal/server/tls.go index fc87049..dd69a44 100644 --- a/internal/server/tls.go +++ b/internal/server/tls.go @@ -97,7 +97,7 @@ func (s *Server) serveTLS() (err error) { 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") -- cgit 1.4.1