Skip to content

Commit d44f192

Browse files
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 <[email protected]>
1 parent 8c086ba commit d44f192

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
@@ -31,6 +31,7 @@ var KnownPublicEntries = []string{
3131
"js",
3232
"serviceworker.js",
3333
"vendor",
34+
"favicon.ico",
3435
}
3536

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

0 commit comments

Comments
 (0)