diff options
author | Alan Pearce | 2024-12-09 17:28:00 +0100 |
---|---|---|
committer | Alan Pearce | 2024-12-09 17:28:00 +0100 |
commit | a7b9a089b0ec645fec1ee21e0fb48194483957a2 (patch) | |
tree | 325d791d2c5abdbf315c043c0fae437b2985b53b | |
parent | 5206e83b04e01a45f21fdb8e8e7b5731693d82fd (diff) | |
download | website-a7b9a089b0ec645fec1ee21e0fb48194483957a2.tar.lz website-a7b9a089b0ec645fec1ee21e0fb48194483957a2.tar.zst website-a7b9a089b0ec645fec1ee21e0fb48194483957a2.zip |
fix oops
-rw-r--r-- | internal/server/tls.go | 2 |
1 files changed, 1 insertions, 1 deletions
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") |