rename manifest
authorBO41 <lukasw41@gmail.com>
Wed, 19 Sep 2018 16:27:10 +0000 (18:27 +0200)
committerChocobozzz <me@florianbigard.com>
Thu, 20 Sep 2018 06:22:29 +0000 (08:22 +0200)
client/angular.json
client/src/index.html
client/src/manifest.json [deleted file]
client/src/manifest.webmanifest [new file with mode: 0644]
server/controllers/client.ts

index 789eeb3d00e4746e6dd58f99d194fde7a283f875..2cf2ecd621f5f6eb4dbb593974da44837493890f 100644 (file)
@@ -24,7 +24,7 @@
             },
             "assets": [
               "src/assets/images",
-              "src/manifest.json"
+              "src/manifest.webmanifest"
             ],
             "styles": [
               "src/sass/application.scss"
             ],
             "assets": [
               "src/assets/images",
-              "src/manifest.json"
+              "src/manifest.webmanifest"
             ]
           }
         },
index f00af8bff02054ded65e4a8385222dd56465b4ea..593de4ac6bde5940617a8ff0915535a37340d5c3 100644 (file)
@@ -7,7 +7,7 @@
     <meta name="theme-color" content="#fff" />
 
     <!-- Web Manifest file -->
-    <link rel="manifest" href="/manifest.json">
+    <link rel="manifest" href="/manifest.webmanifest">
 
     <!-- /!\ The following comment is used by the server to prerender some tags /!\ -->
 
diff --git a/client/src/manifest.json b/client/src/manifest.json
deleted file mode 100644 (file)
index 30914e3..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-{
-  "background_color": "#fff",
-  "theme_color": "#fff",
-  "description": "A federated video streaming platform using P2P",
-  "display": "standalone",
-  "orientation": "any",
-  "icons": [
-    {
-      "src": "/client/assets/images/icons/icon-36x36.png",
-      "sizes": "36x36",
-      "type": "image/png"
-    },
-       {
-      "src": "/client/assets/images/icons/icon-48x48.png",
-      "sizes": "48x48",
-      "type": "image/png"
-    },
-    {
-      "src": "/client/assets/images/icons/icon-72x72.png",
-      "sizes": "72x72",
-      "type": "image/png"
-    },
-       {
-      "src": "/client/assets/images/icons/icon-96x96.png",
-      "sizes": "96x96",
-      "type": "image/png"
-    }, 
-       {
-      "src": "/client/assets/images/icons/icon-144x144.png",
-      "sizes": "144x144",
-      "type": "image/png"
-    },
-       {
-      "src": "/client/assets/images/icons/icon-192x192.png",
-      "sizes": "192x192",
-      "type": "image/png"
-    },
-    {
-      "src": "/client/assets/images/icons/icon-512x512.png",
-      "sizes": "512x512",
-      "type": "image/png"
-    }
-  ],
-  "name": "PeerTube",
-  "short_name": "PeerTube",
-  "start_url": "/videos/trending"
-}
diff --git a/client/src/manifest.webmanifest b/client/src/manifest.webmanifest
new file mode 100644 (file)
index 0000000..3d3c7d6
--- /dev/null
@@ -0,0 +1,47 @@
+{
+  "background_color": "#fff",
+  "theme_color": "#fff",
+  "description": "A federated video streaming platform using P2P",
+  "display": "standalone",
+  "orientation": "any",
+  "icons": [
+    {
+      "src": "/client/assets/images/icons/icon-36x36.png",
+      "sizes": "36x36",
+      "type": "image/png"
+    },
+       {
+      "src": "/client/assets/images/icons/icon-48x48.png",
+      "sizes": "48x48",
+      "type": "image/png"
+    },
+    {
+      "src": "/client/assets/images/icons/icon-72x72.png",
+      "sizes": "72x72",
+      "type": "image/png"
+    },
+       {
+      "src": "/client/assets/images/icons/icon-96x96.png",
+      "sizes": "96x96",
+      "type": "image/png"
+    },
+       {
+      "src": "/client/assets/images/icons/icon-144x144.png",
+      "sizes": "144x144",
+      "type": "image/png"
+    },
+       {
+      "src": "/client/assets/images/icons/icon-192x192.png",
+      "sizes": "192x192",
+      "type": "image/png"
+    },
+    {
+      "src": "/client/assets/images/icons/icon-512x512.png",
+      "sizes": "512x512",
+      "type": "image/png"
+    }
+  ],
+  "name": "PeerTube",
+  "short_name": "PeerTube",
+  "start_url": "/videos/trending"
+}
index c33061289c947487a33a5e23e91ed1bf9cfce74f..73b40cf6513c3941fe5fe9ef1b76c9691db0a456 100644 (file)
@@ -35,7 +35,7 @@ clientsRouter.use('' +
 // Static HTML/CSS/JS client files
 
 const staticClientFiles = [
-  'manifest.json',
+  'manifest.webmanifest',
   'ngsw-worker.js',
   'ngsw.json'
 ]