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

Update dependencies

This commit is contained in:
Frederic Guillot 2018-12-09 17:59:39 -08:00
parent 61bfb3cfa8
commit 59d8e9b95e
184 changed files with 25993 additions and 1561 deletions

View file

@ -69,7 +69,7 @@ func HostWhitelist(hosts ...string) HostPolicy {
}
return func(_ context.Context, host string) error {
if !whitelist[host] {
return errors.New("acme/autocert: host not configured")
return fmt.Errorf("acme/autocert: host %q not configured in HostWhitelist", host)
}
return nil
}