From 27c1133a8faea0a14779edbe85a39a85f0883deb Mon Sep 17 00:00:00 2001 From: Konstantin Gorodinskii Date: Sat, 28 Dec 2019 13:07:20 +0100 Subject: [PATCH 1/2] add manifest.json Signed-off-by: Konstantin Gorodinskii --- img/manifest.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 img/manifest.json diff --git a/img/manifest.json b/img/manifest.json new file mode 100644 index 000000000..43cd5cc64 --- /dev/null +++ b/img/manifest.json @@ -0,0 +1,17 @@ +{ + "name": "Notes", + "start_url": "/apps/notes/", + "icons": [ + { + "src": "/apps/notes/img/favicon-touch.png", + "type": "image/png", + "sizes": "128x128" + }, + { + "src": "/apps/notes/img/favicon-touch.svg", + "type": "image/svg+xml", + "sizes": "16x16" + } + ], + "display": "standalone" +} From ad7e50963dd9ed94d47d9c4a31ce9c42af848a1f Mon Sep 17 00:00:00 2001 From: Konstantin Gorodinskii Date: Sun, 29 Dec 2019 16:05:33 +0100 Subject: [PATCH 2/2] fix paths Signed-off-by: Konstantin Gorodinskii --- img/manifest.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/img/manifest.json b/img/manifest.json index 43cd5cc64..64da2ddd3 100644 --- a/img/manifest.json +++ b/img/manifest.json @@ -1,14 +1,14 @@ { "name": "Notes", - "start_url": "/apps/notes/", + "start_url": "../../../apps/notes", "icons": [ { - "src": "/apps/notes/img/favicon-touch.png", + "src": "./favicon-touch.png", "type": "image/png", "sizes": "128x128" }, { - "src": "/apps/notes/img/favicon-touch.svg", + "src": "./favicon-touch.svg", "type": "image/svg+xml", "sizes": "16x16" }