mirror of
https://github.com/sky22333/hubproxy.git
synced 2026-09-05 15:46:51 +08:00
fix favicon
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user