summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/requestbody
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-07-11 22:03:12 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2019-07-11 22:03:12 -0600
commit63674ba081dcf0a1b0ba8d6966fa5874850e3ee3 (patch)
treea7e9273f7fbb1078cf65ec9997450dd34101a68a /modules/caddyhttp/requestbody
parent9722dbe18a568b8229e07bafb6189a08fa3859e2 (diff)
Rename handler modules to use http.handlers namespace
Diffstat (limited to 'modules/caddyhttp/requestbody')
-rw-r--r--modules/caddyhttp/requestbody/requestbody.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/requestbody/requestbody.go b/modules/caddyhttp/requestbody/requestbody.go
index 14743f4..3763cfe 100644
--- a/modules/caddyhttp/requestbody/requestbody.go
+++ b/modules/caddyhttp/requestbody/requestbody.go
@@ -23,7 +23,7 @@ import (
func init() {
caddy.RegisterModule(caddy.Module{
- Name: "http.middleware.request_body",
+ Name: "http.handlers.request_body",
New: func() interface{} { return new(RequestBody) },
})
}