Monorepo for Tangled tangled.org

appview/state: support `/favicon.ico`

apps like pdsls.dev expects favicon to exist in well-known path

Signed-off-by: Seongmin Lee <git@boltless.me>

boltless.me 8fc3b15f 8fab832a

verified
+3
+3
appview/state/router.go
··· 32 32 s.pages, 33 33 ) 34 34 35 + router.Get("/favicon.ico", func(w http.ResponseWriter, r *http.Request) { 36 + http.Redirect(w, r, "/static/logos/dolly.ico", http.StatusMovedPermanently) 37 + }) 35 38 router.Get("/pwa-manifest.json", s.WebAppManifest) 36 39 router.Get("/robots.txt", s.RobotsTxt) 37 40