Include manifest in build
authorChocobozzz <me@florianbigard.com>
Thu, 8 Feb 2018 09:00:09 +0000 (10:00 +0100)
committerChocobozzz <me@florianbigard.com>
Thu, 8 Feb 2018 09:00:09 +0000 (10:00 +0100)
client/.angular-cli.json
client/src/index.html

index 9ed4a7ab3d5e61028fdf1cd662acbdfdf912c40f..01c240beb0c9dd92635aaba07de74dcd6251a559 100644 (file)
@@ -9,7 +9,8 @@
       "outDir": "dist",
       "deployUrl": "client/",
       "assets": [
-        { "glob": "**/*", "input": "./assets/images", "output": "./client/assets/images" }
+        { "glob": "**/*", "input": "./assets/images", "output": "./client/assets/images" },
+        { "input": "./manifest.json", "output": "./client/manifest.json" }
       ],
       "index": "index.html",
       "main": "main.ts",
index 79c3edea8d7ec650da7ed46faa70834a3e14ad0d..61a8d2ed1da24b7cc994772a08bccf9f537c9399 100644 (file)
@@ -8,7 +8,8 @@
     <meta name="description" content="PeerTube, a decentralized video streaming platform using P2P (BitTorrent) directly in the web browser" />
 
     <!-- Web Manifest file -->
-    <link rel="manifest" href="manifest.json">
+    <link rel="manifest" href="/client/manifest.json">
+
     <!-- The following comment is used by the server to prerender OpenGraph and oEmbed tags -->
     <!-- open graph and oembed tags -->
     <!-- Do not remove it! -->