fix #1804 which is caused by calling middleware twice. (#1805)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Fix: https://github.com/gin-gonic/gin/issues/1804 `allNoRoute` contains middlewares such as `gin.Logger`, `gin.Recovery`, so on. The correct code is to use `noRoute`.
authored by Sai · committed by Bo-Yi Wu · parent 70a0aba · Browse files · 2 files+22 added−2 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- cc: @MetalBreaker
Diff stats
2 files+22 added−2 removed
- other:+22 added−2 removed