From 9198c7736beb1dee23a1335fc1fabb22f2d76097 Mon Sep 17 00:00:00 2001 From: Tosuke Date: Sat, 16 Jun 2018 19:45:49 +0900 Subject: [PATCH] improve web app manifest --- src/client/assets/manifest.json | 40 ++++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/src/client/assets/manifest.json b/src/client/assets/manifest.json index a0f6745b0..25be82fdc 100644 --- a/src/client/assets/manifest.json +++ b/src/client/assets/manifest.json @@ -4,11 +4,39 @@ "start_url": "/", "display": "standalone", "background_color": "#313a42", - "icons": { - "16": "/assets/favicon/16.png", - "32": "/assets/favicon/32.png", - "64": "/assets/favicon/64.png", - "128": "/assets/favicon/128.png", - "256": "/assets/favicon/256.png" + "icons": [ + { + "src": "/assets/favicon/16.png", + "size": "16x16", + "type": "image/png" + }, + { + "src": "/assets/favicon/32.png", + "size": "32x32", + "type": "image/png" + }, + { + "src": "/assets/favicon/64.png", + "size": "64x64", + "type": "image/png" + }, + { + "src": "/assets/favicon/128.png", + "size": "128x128", + "type": "image/png" + }, + { + "src": "/assets/favicon/192.png", + "size": "192x192", + "type": "image/png" + }, + { + "src": "/assets/favicon/256.png", + "size": "256x256", + "type": "image/png" + } + ], + "share_target": { + "url_template": "share?text={title}%20-%20{text}%20-%20{url}" } }