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