update error message

This commit is contained in:
AJ ONeal 2019-04-22 10:10:36 -06:00
parent 6fc75632c8
commit fe5cf33bef
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ import (
var EInvalidJWKURL = errors.New("url does not lead to valid JWKs")
var KeyCache = map[string]CachableKey{}
var KeyCacheMux = sync.Mutex{}
var ErrInsecureDomain = errors.New("Whitelists should only allow secure domains (i.e. https://). To allow unsecured private networking (i.e. Docker) pass PrivateWhitelist as `true`")
var ErrInsecureDomain = errors.New("Whitelists should only allow secure URLs (i.e. https://). To allow unsecured private networking (i.e. Docker) pass PrivateWhitelist as a list of private URLs")
type CachableKey struct {
Key keypairs.PublicKey