mirror of
https://github.com/go-gitea/gitea
synced 2024-11-14 01:35:54 +01:00
When visit /favicon.ico but the static file is not exist return 404 but not continue to handle the route (#14211) (#14213)
Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
parent
5568dd6475
commit
17022f8b62
@ -38,6 +38,7 @@ var KnownPublicEntries = []string{
|
||||
"js",
|
||||
"serviceworker.js",
|
||||
"vendor",
|
||||
"favicon.ico",
|
||||
}
|
||||
|
||||
// Custom implements the macaron static handler for serving custom assets.
|
||||
|
Loading…
Reference in New Issue
Block a user