diff options
author | Matthew Holt <[email protected]> | 2019-07-11 17:02:57 -0600 |
---|---|---|
committer | Matthew Holt <[email protected]> | 2019-07-11 17:02:57 -0600 |
commit | eb8625f7744ba5e72b51549adc086e45313267cb (patch) | |
tree | ac1c77bccd7a1d23cb8e1fd361ed334a3890a80c /modules/caddyhttp/routes.go | |
parent | 4a3a418156e25aae17659142a4bf9259d7702c44 (diff) | |
download | caddy-eb8625f7744ba5e72b51549adc086e45313267cb.tar.gz caddy-eb8625f7744ba5e72b51549adc086e45313267cb.zip |
Add error & subroute handlers; weakString; other minor handler changes
Diffstat (limited to 'modules/caddyhttp/routes.go')
-rw-r--r-- | modules/caddyhttp/routes.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/routes.go b/modules/caddyhttp/routes.go index e010bb6c1..b0672b118 100644 --- a/modules/caddyhttp/routes.go +++ b/modules/caddyhttp/routes.go @@ -107,7 +107,7 @@ func (routes RouteList) Provision(ctx caddy.Context) error { // BuildCompositeRoute creates a chain of handlers by // applying all of the matching routes. -func (routes RouteList) BuildCompositeRoute(rw http.ResponseWriter, req *http.Request) Handler { +func (routes RouteList) BuildCompositeRoute(req *http.Request) Handler { if len(routes) == 0 { return emptyHandler } |