]> source.dussan.org Git - gitea.git/commitdiff
When visit /favicon.ico but the static file is not exist return 404 but not continue...
authorLunny Xiao <xiaolunwen@gmail.com>
Fri, 1 Jan 2021 22:05:45 +0000 (06:05 +0800)
committerGitHub <noreply@github.com>
Fri, 1 Jan 2021 22:05:45 +0000 (17:05 -0500)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
modules/public/public.go

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