Add larger icon (144x144) to manifest.json

This commit is contained in:
Thanh Nguyen 2023-09-24 15:11:31 +07:00
parent 628bde1527
commit bd6b77bcc2
2 changed files with 6 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

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": "/", "start_url": s.BasePath,
"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-144.png",
"sizes": "144x144",
"type": "image/png",
},
{ {
"src": s.BasePath + "/static/graphicarts/favicon.svg", "src": s.BasePath + "/static/graphicarts/favicon.svg",
"sizes": "any", "sizes": "any",