added share target to web manifest

This commit is contained in:
vabene1111
2023-08-25 09:45:31 +02:00
parent 01ce658883
commit 3d45a068e4

View File

@@ -1,42 +1,51 @@
{ {
"name": "Tandoor Recipes", "name": "Tandoor Recipes",
"short_name": "Tandoor", "short_name": "Tandoor",
"description": "Application to manage, tag and search recipes.", "description": "Application to manage, tag and search recipes.",
"icons": [ "icons": [
{ {
"src": "/static/assets/logo_color144.png", "src": "/static/assets/logo_color144.png",
"type": "image/png", "type": "image/png",
"sizes": "144x144" "sizes": "144x144"
}, },
{ {
"src": "/static/assets/logo_color512.png", "src": "/static/assets/logo_color512.png",
"type": "image/png", "type": "image/png",
"sizes": "512x512" "sizes": "512x512"
} }
], ],
"start_url": "./search", "start_url": "./search",
"background_color": "#ffcb76", "background_color": "#ffcb76",
"display": "standalone", "display": "standalone",
"scope": ".", "scope": ".",
"theme_color": "#ffcb76", "theme_color": "#ffcb76",
"shortcuts": [ "shortcuts": [
{ {
"name": "Plan", "name": "Plan",
"short_name": "Plan", "short_name": "Plan",
"description": "View your meal Plan", "description": "View your meal Plan",
"url": "./plan" "url": "./plan"
}, },
{ {
"name": "Books", "name": "Books",
"short_name": "Cookbooks", "short_name": "Cookbooks",
"description": "View your cookbooks", "description": "View your cookbooks",
"url": "./books" "url": "./books"
}, },
{ {
"name": "Shopping", "name": "Shopping",
"short_name": "Shopping", "short_name": "Shopping",
"description": "View your shopping lists", "description": "View your shopping lists",
"url": "./list/shopping-list/" "url": "./list/shopping-list/"
} }
] ],
"share_target": {
"action": "/data/import/url",
"method": "GET",
"params": {
"title": "title",
"text": "text",
"url": "url"
}
}
} }