Fixed issues with site.webmanifest file. Resolves #116.
authorAdam Dullage <redacted>
Tue, 29 Aug 2023 10:05:00 +0000 (11:05 +0100)
committerAdam Dullage <redacted>
Tue, 29 Aug 2023 10:05:00 +0000 (11:05 +0100)
flatnotes/src/assets/site.webmanifest [deleted file]
flatnotes/src/index.html
flatnotes/src/site.webmanifest [new file with mode: 0644]

diff --git a/flatnotes/src/assets/site.webmanifest b/flatnotes/src/assets/site.webmanifest
deleted file mode 100644 (file)
index 11a4b98..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-{
-    "name": "flatnotes",
-    "short_name": "flatnotes",
-    "icons": [
-        {
-            "src": "./android-chrome-192x192.png",
-            "sizes": "192x192",
-            "type": "image/png"
-        },
-        {
-            "src": "./android-chrome-512x512.png",
-            "sizes": "512x512",
-            "type": "image/png"
-        }
-    ],
-    "theme_color": "#F8A66B",
-    "background_color": "#ffffff",
-    "display": "standalone"
-}
index 2b30f26a9aefc4bc8884b71ccdbaef7fc79c0d92..d6f3e11121c49a3bc8f8c4fc10bc9a13fd3526fa 100644 (file)
@@ -9,7 +9,7 @@
   <link rel="apple-touch-icon" sizes="180x180" href="assets/apple-touch-icon.png">
   <link rel="icon" type="image/png" sizes="32x32" href="assets/favicon-32x32.png">
   <link rel="icon" type="image/png" sizes="16x16" href="assets/favicon-16x16.png">
-  <link rel="manifest" href="assets/site.webmanifest">
+  <link rel="manifest" href="site.webmanifest">
   <link rel="mask-icon" href="assets/safari-pinned-tab.svg" color="#F8A66B">
   <link rel="shortcut icon" href="assets/favicon.ico">
   <meta name="msapplication-TileColor" content="#2b5797">
diff --git a/flatnotes/src/site.webmanifest b/flatnotes/src/site.webmanifest
new file mode 100644 (file)
index 0000000..996d404
--- /dev/null
@@ -0,0 +1,20 @@
+{
+  "name": "flatnotes",
+  "short_name": "flatnotes",
+  "start_url": "/",
+  "icons": [
+    {
+      "src": "/assets/android-chrome-192x192.png",
+      "sizes": "192x192",
+      "type": "image/png"
+    },
+    {
+      "src": "/assets/android-chrome-512x512.png",
+      "sizes": "512x512",
+      "type": "image/png"
+    }
+  ],
+  "theme_color": "#F8A66B",
+  "background_color": "#ffffff",
+  "display": "standalone"
+}
git clone https://git.99rst.org/PROJECT