fixed bug in NewMiddleware
This commit is contained in:
@@ -54,6 +54,8 @@ func (server *Server) NewMiddleware(
|
||||
if herr.RenderErrorPage {
|
||||
return
|
||||
}
|
||||
next.ServeHTTP(w, r)
|
||||
return
|
||||
}
|
||||
next.ServeHTTP(w, newReq)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user