1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-01 17:38:37 +00:00

Rename storage certificate cache

This cache is used only for ACME certificates.

Being explicit is always better.
This commit is contained in:
Frédéric Guillot 2021-02-13 14:07:39 -08:00 committed by fguillot
parent 0413daf76b
commit f29940d784
2 changed files with 10 additions and 10 deletions

View file

@ -121,7 +121,7 @@ func tlsConfig() *tls.Config {
func startAutoCertTLSServer(server *http.Server, certDomain string, store *storage.Storage) {
server.Addr = ":https"
certManager := autocert.Manager{
Cache: storage.NewCache(store),
Cache: storage.NewCertificateCache(store),
Prompt: autocert.AcceptTOS,
HostPolicy: autocert.HostWhitelist(certDomain),
}