Browse Source

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>
mj-v1.14.3
Lunny Xiao 2 years ago
committed by GitHub
parent
commit
d44f192d3e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      modules/public/public.go

1
modules/public/public.go

@ -31,6 +31,7 @@ var KnownPublicEntries = []string{
"js",
"serviceworker.js",
"vendor",
"favicon.ico",
}
// Custom implements the macaron static handler for serving custom assets.

Loading…
Cancel
Save