diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-07-11 22:03:12 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-07-11 22:03:12 -0600 |
commit | 63674ba081dcf0a1b0ba8d6966fa5874850e3ee3 (patch) | |
tree | a7e9273f7fbb1078cf65ec9997450dd34101a68a /modules/caddyhttp/headers | |
parent | 9722dbe18a568b8229e07bafb6189a08fa3859e2 (diff) |
Rename handler modules to use http.handlers namespace
Diffstat (limited to 'modules/caddyhttp/headers')
-rw-r--r-- | modules/caddyhttp/headers/headers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/headers/headers.go b/modules/caddyhttp/headers/headers.go index f1b45da..8f4976a 100644 --- a/modules/caddyhttp/headers/headers.go +++ b/modules/caddyhttp/headers/headers.go @@ -24,7 +24,7 @@ import ( func init() { caddy.RegisterModule(caddy.Module{ - Name: "http.middleware.headers", + Name: "http.handlers.headers", New: func() interface{} { return new(Headers) }, }) } |