-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default engine producing two log lines with StaticFS for 404 #1804
Comments
This seems to be caused by PR #1663 |
sairoutine
added a commit
to sairoutine/gin
that referenced
this issue
Mar 10, 2019
appleboy
pushed a commit
that referenced
this issue
Mar 11, 2019
@MusicAdam |
descobriuoq
added a commit
to descobriuoq/gin
that referenced
this issue
Sep 4, 2024
Fix: gin-gonic/gin#1804 `allNoRoute` contains middlewares such as `gin.Logger`, `gin.Recovery`, so on. The correct code is to use `noRoute`. cc: @MetalBreaker
Petyniak8k
added a commit
to Petyniak8k/gin
that referenced
this issue
Sep 13, 2024
Fix: gin-gonic/gin#1804 `allNoRoute` contains middlewares such as `gin.Logger`, `gin.Recovery`, so on. The correct code is to use `noRoute`. cc: @MetalBreaker
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I am receiving two log lines from a 404, even when using the default engine.
If I remove the router.StaticFS I no longer see the issue.
Code example:
Screenshots
The text was updated successfully, but these errors were encountered: