This commit is contained in:
callebtc 2022-11-04 20:48:32 +01:00 committed by dni ⚡
parent 6526c6d6f2
commit db61ad8b32

View File

@ -59,11 +59,16 @@ async def manifest(cashu_id: str):
"short_name": "Cashu", "short_name": "Cashu",
"name": cashu.name + " - " + "Cashu", "name": cashu.name + " - " + "Cashu",
"icons": [ "icons": [
{
"src": "https://github.com/cashubtc/cashu-ui/raw/main/ui/icons/512x512.png",
"type": "image/png",
"sizes": "512x512",
},
{ {
"src": "https://github.com/cashubtc/cashu-ui/raw/main/ui/icons/96x96.png", "src": "https://github.com/cashubtc/cashu-ui/raw/main/ui/icons/96x96.png",
"type": "image/png", "type": "image/png",
"sizes": "96x96", "sizes": "96x96",
} },
], ],
"start_url": "/cashu/wallet?mint_id=" + cashu_id, "start_url": "/cashu/wallet?mint_id=" + cashu_id,
"background_color": "#1F2234", "background_color": "#1F2234",
@ -77,6 +82,16 @@ async def manifest(cashu_id: str):
"short_name": cashu.name, "short_name": cashu.name,
"description": cashu.name + " - " + "Cashu wallet", "description": cashu.name + " - " + "Cashu wallet",
"url": "/cashu/wallet?mint_id=" + cashu_id, "url": "/cashu/wallet?mint_id=" + cashu_id,
"icons": [
{
"src": "https://github.com/cashubtc/cashu-ui/raw/main/ui/icons/96x96.png",
"sizes": "96x96",
},
{
"src": "https://github.com/cashubtc/cashu-ui/raw/main/ui/icons/512x512.png",
"sizes": "512x512",
},
],
} }
], ],
} }