Skip to content

Commit

Permalink
When visit /favicon.ico but the static file is not exist return 404 b…
Browse files Browse the repository at this point in the history
…ut not continue to handle the route (#14211)

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
  • Loading branch information
lunny and techknowlogick committed Jan 1, 2021
1 parent 8c086ba commit d44f192
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/public/public.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ var KnownPublicEntries = []string{
"js",
"serviceworker.js",
"vendor",
"favicon.ico",
}

// Custom implements the macaron static handler for serving custom assets.
Expand Down

0 comments on commit d44f192

Please sign in to comment.