mirror of
https://github.com/caddyserver/caddy.git
synced 2026-05-29 10:12:32 -04:00
http: Fix empty responses
Sigh... this is what I get for writing code when I'm tired and sick. See https://github.com/caddyserver/caddy/commit/8be1f0ea668492000cdefbd937e0359bdc24bfc1#r36764627
This commit is contained in:
@@ -172,7 +172,7 @@ func (app *App) Provision(ctx caddy.Context) error {
|
||||
}
|
||||
// pre-compile the handler chain, and be sure to wrap it in our
|
||||
// route handler so that important security checks are done, etc.
|
||||
srv.primaryHandlerChain = srv.Routes.Compile()
|
||||
primaryRoute = srv.Routes.Compile()
|
||||
}
|
||||
srv.primaryHandlerChain = srv.wrapPrimaryRoute(primaryRoute)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user