fix favicon

This commit is contained in:
sky22333
2026-07-12 01:30:17 +08:00
parent 79f23d13ad
commit 7e0b82f8f0
7 changed files with 6 additions and 31 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ func TestFrontendDisabledRoutesReturnNotFound(t *testing.T) {
enableFrontend = false
`)
for _, path := range []string{"/", "/images", "/search", "/favicon.svg"} {
for _, path := range []string{"/", "/images", "/search", "/favicon.ico"} {
w := performRequest(router, http.MethodGet, path, "")
if w.Code != http.StatusNotFound {
t.Fatalf("%s status = %d, want 404", path, w.Code)