Add basic ShareTarget handler

This commit is contained in:
RobinLinus 2019-03-13 01:48:53 +01:00
parent 59ec78c520
commit 13243093ae
3 changed files with 32 additions and 3 deletions

View file

@ -18,12 +18,20 @@
"sizes": "192x192",
"type": "image/png"
},{
"src": "images/logo_transparent_white_512x512.png",
"src": "images/logo_transparent_512x512.png",
"sizes": "512x512",
"type": "image/png"
}],
"background_color": "#3367d6",
"start_url": "/",
"display": "minimal-ui",
"theme_color": "#3367d6"
"theme_color": "#3367d6",
"share_target": {
"action": "/share-target/",
"params": {
"title": "title",
"text": "text",
"url": "url"
}
}
}