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) (#14213)

Co-authored-by: techknowlogick <techknowlogick@gitea.io>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
  • Loading branch information
lunny and techknowlogick authored Jan 2, 2021
1 parent 5568dd6 commit 17022f8
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 @@ -38,6 +38,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 17022f8

Please sign in to comment.