fix start_url for manifest.json

This commit is contained in:
nkanaev 2025-03-04 14:41:23 +00:00
parent 48a671b285
commit fe4eaa4b8d

View File

@ -87,7 +87,7 @@ func (s *Server) handleManifest(c *router.Context) {
"short_name": "yarr",
"description": "yet another rss reader",
"display": "standalone",
"start_url": s.BasePath,
"start_url": "/" + strings.TrimPrefix(s.BasePath, "/"),
"icons": []map[string]interface{}{
{
"src": s.BasePath + "/static/graphicarts/favicon.png",