From 976bbfd2456b3efa8917d0218d990ae8639696be Mon Sep 17 00:00:00 2001 From: Thanh Nguyen Date: Sun, 24 Sep 2023 14:05:53 +0700 Subject: [PATCH] Fix `manifest.json` in `routes.go` --- src/server/routes.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/server/routes.go b/src/server/routes.go index ee4b6c6..fa7fb2c 100644 --- a/src/server/routes.go +++ b/src/server/routes.go @@ -86,13 +86,18 @@ func (s *Server) handleManifest(c *router.Context) { "short_name": "yarr", "description": "yet another rss reader", "display": "standalone", - "start_url": s.BasePath, + "start_url": "/", "icons": []map[string]interface{}{ { "src": s.BasePath + "/static/graphicarts/favicon.png", "sizes": "64x64", "type": "image/png", }, + { + "src": s.BasePath + "/static/graphicarts/favicon.svg", + "sizes": "any", + "type": "image/svg", + }, }, }) }