fix repocard issues (#20)

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-08-25 14:33:36 +03:00
committed by GitHub
parent dd78ae8658
commit 8076e410a9
18 changed files with 72 additions and 51 deletions

View File

@@ -46,7 +46,7 @@ func (r *Resolver) Domain(req *http.Request) string {
return ""
}
// check for dev enviroment
// check for dev environment
if host == "localhost" || host == "127.0.0.1" {
return ""
}

View File

@@ -56,7 +56,7 @@ func OnDemand(b bool) Option {
// Cache provides a cache / storage interface to the underlying ACME library
// as there is no standard, this needs to be validated by the underlying
// implentation.
// implementation
func Cache(c interface{}) Option {
return func(o *Options) {
o.Cache = c