Skip to content

Commit 17022f8

Browse files
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 <[email protected]> Co-authored-by: techknowlogick <[email protected]>
1 parent 5568dd6 commit 17022f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/public/public.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ var KnownPublicEntries = []string{
3838
"js",
3939
"serviceworker.js",
4040
"vendor",
41+
"favicon.ico",
4142
}
4243

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

0 commit comments

Comments
 (0)