From ba0ee6aba42418ea911c9b2e49ce83ff78f1b9ba Mon Sep 17 00:00:00 2001
From: certuna <62144283+certuna@users.noreply.github.com>
Date: Wed, 13 Oct 2021 02:06:09 +0200
Subject: [PATCH] Rename manifest.json to manifest.webmanifest (#1399)

* Rename manifest.json to manifest.webmanifest

browser consoles keep complaining that the manifest doesn't have the `.webmanifest` extension.

* FIx manifest.webmanifest references

Co-authored-by: Deluan <deluan@navidrome.org>
---
 tests/fixtures/robots.txt                         | 2 +-
 ui/public/index.html                              | 4 ++--
 ui/public/{manifest.json => manifest.webmanifest} | 0
 ui/public/robots.txt                              | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
 rename ui/public/{manifest.json => manifest.webmanifest} (100%)

diff --git a/tests/fixtures/robots.txt b/tests/fixtures/robots.txt
index 5a8c263b3..94244084f 100644
--- a/tests/fixtures/robots.txt
+++ b/tests/fixtures/robots.txt
@@ -1,4 +1,4 @@
 User-agent: bingbot
-Disallow: /manifest.json
+Disallow: /manifest.webmanifest
 
 User-agent: *
diff --git a/ui/public/index.html b/ui/public/index.html
index 47afc9a2c..02675cbf2 100644
--- a/ui/public/index.html
+++ b/ui/public/index.html
@@ -16,10 +16,10 @@
 
     <meta name="viewport" content="width=device-width, initial-scale=1" />
     <!--
-      manifest.json provides metadata used when your web app is installed on a
+      manifest.webmanifest provides metadata used when your web app is installed on a
       user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
     -->
-    <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
+    <link rel="manifest" href="%PUBLIC_URL%/manifest.webmanifest" />
     <!--
       Notice the use of %PUBLIC_URL% in the tags above.
       It will be replaced with the URL of the `public` folder during the build.
diff --git a/ui/public/manifest.json b/ui/public/manifest.webmanifest
similarity index 100%
rename from ui/public/manifest.json
rename to ui/public/manifest.webmanifest
diff --git a/ui/public/robots.txt b/ui/public/robots.txt
index 5a8c263b3..94244084f 100644
--- a/ui/public/robots.txt
+++ b/ui/public/robots.txt
@@ -1,4 +1,4 @@
 User-agent: bingbot
-Disallow: /manifest.json
+Disallow: /manifest.webmanifest
 
 User-agent: *