From fec7fa8bfda713e8042b9bbf9a480c7792b78c41 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Mon, 20 May 2019 10:59:20 -0600 Subject: Implement most of static file server; refactor and improve Replacer --- caddy.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'caddy.go') diff --git a/caddy.go b/caddy.go index 082c699..c654fbe 100644 --- a/caddy.go +++ b/caddy.go @@ -34,7 +34,7 @@ func Run(newCfg *Config) error { // modules - essentially our new config's // execution environment; be sure that // cleanup occurs when we return if there - // was an error; otherwise, it will get + // was an error; if no error, it will get // cleaned up on next config cycle ctx, cancel := NewContext(Context{Context: context.Background(), cfg: newCfg}) defer func() { @@ -139,7 +139,6 @@ type Config struct { StorageRaw json.RawMessage `json:"storage"` storage certmagic.Storage - TestVal string `json:"testval"` AppsRaw map[string]json.RawMessage `json:"apps"` // apps stores the decoded Apps values, -- cgit v1.2.3