about summary refs log tree commit diff stats
path: root/internal/server/tls.go
diff options
context:
space:
mode:
authorAlan Pearce2024-12-09 17:28:00 +0100
committerAlan Pearce2024-12-09 17:28:00 +0100
commita7b9a089b0ec645fec1ee21e0fb48194483957a2 (patch)
tree325d791d2c5abdbf315c043c0fae437b2985b53b /internal/server/tls.go
parent5206e83b04e01a45f21fdb8e8e7b5731693d82fd (diff)
downloadwebsite-a7b9a089b0ec645fec1ee21e0fb48194483957a2.tar.lz
website-a7b9a089b0ec645fec1ee21e0fb48194483957a2.tar.zst
website-a7b9a089b0ec645fec1ee21e0fb48194483957a2.zip
fix oops
Diffstat (limited to 'internal/server/tls.go')
-rw-r--r--internal/server/tls.go2
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")