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