From e31b6b21f16e4803e19bba7d9a117a5aaafd850b Mon Sep 17 00:00:00 2001 From: shirainbown Date: Fri, 19 Jun 2026 00:31:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20SPA=20=E8=B7=AF=E7=94=B1=E6=94=AF?= =?UTF-8?q?=E6=8C=81=20logo.svg=20=E7=AD=89=E9=9D=99=E6=80=81=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/main.go b/server/main.go index aef3b7e..27ddb94 100644 --- a/server/main.go +++ b/server/main.go @@ -130,7 +130,7 @@ func main() { fileServer.ServeHTTP(c.Writer, c.Request) return } - if path == "/favicon.ico" { + if path == "/favicon.ico" || path == "/logo.svg" || path == "/favicon.png" || path == "/apple-touch-icon.png" { fileServer.ServeHTTP(c.Writer, c.Request) return } @@ -153,7 +153,7 @@ func main() { fileServer.ServeHTTP(c.Writer, c.Request) return } - if path == "/favicon.ico" { + if path == "/favicon.ico" || path == "/logo.svg" || path == "/favicon.png" || path == "/apple-touch-icon.png" { fileServer.ServeHTTP(c.Writer, c.Request) return }