aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/caddyhttp/routes.go
diff options
context:
space:
mode:
authorMatthew Holt <[email protected]>2019-07-11 17:02:57 -0600
committerMatthew Holt <[email protected]>2019-07-11 17:02:57 -0600
commiteb8625f7744ba5e72b51549adc086e45313267cb (patch)
treeac1c77bccd7a1d23cb8e1fd361ed334a3890a80c /modules/caddyhttp/routes.go
parent4a3a418156e25aae17659142a4bf9259d7702c44 (diff)
downloadcaddy-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.go2
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
}