Fix manifest.json in routes.go

This commit is contained in:
Thanh Nguyen 2023-09-24 14:05:53 +07:00
parent b79a542ed7
commit 976bbfd245

View File

@ -86,13 +86,18 @@ func (s *Server) handleManifest(c *router.Context) {
"short_name": "yarr", "short_name": "yarr",
"description": "yet another rss reader", "description": "yet another rss reader",
"display": "standalone", "display": "standalone",
"start_url": s.BasePath, "start_url": "/",
"icons": []map[string]interface{}{ "icons": []map[string]interface{}{
{ {
"src": s.BasePath + "/static/graphicarts/favicon.png", "src": s.BasePath + "/static/graphicarts/favicon.png",
"sizes": "64x64", "sizes": "64x64",
"type": "image/png", "type": "image/png",
}, },
{
"src": s.BasePath + "/static/graphicarts/favicon.svg",
"sizes": "any",
"type": "image/svg",
},
}, },
}) })
} }