From 8fc3b15f6539ed1d74e8a87cbdfecd990b2d6438 Mon Sep 17 00:00:00 2001 From: Seongmin Lee Date: Fri, 23 Jan 2026 13:58:23 +0900 Subject: [PATCH] appview/state: support `/favicon.ico` apps like pdsls.dev expects favicon to exist in well-known path Signed-off-by: Seongmin Lee --- appview/state/router.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/appview/state/router.go b/appview/state/router.go index cdbda927..d5549a49 100644 --- a/appview/state/router.go +++ b/appview/state/router.go @@ -32,6 +32,9 @@ func (s *State) Router() http.Handler { s.pages, ) + router.Get("/favicon.ico", func(w http.ResponseWriter, r *http.Request) { + http.Redirect(w, r, "/static/logos/dolly.ico", http.StatusMovedPermanently) + }) router.Get("/pwa-manifest.json", s.WebAppManifest) router.Get("/robots.txt", s.RobotsTxt) -- 2.51.2