fix(tls): no certificate available

This commit is contained in:
Jacky 2025-04-06 07:42:20 +00:00
parent 5864185615
commit 8f7574f212
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
6 changed files with 41 additions and 6 deletions

View file

@ -22,7 +22,7 @@ func ReloadServerTLSCertificate() error {
return err
}
tlsCert.Store(newCert)
tlsCert.Store(&newCert)
return nil
}