Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Include manifest in build

Chocobozzz6583edee61b3
diff --git a/client/.angular-cli.json b/client/.angular-cli.json
index 9ed4a7ab3d..01c240beb0 100644
--- a/client/.angular-cli.json
+++ b/client/.angular-cli.json
@@ -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",
diff --git a/client/src/index.html b/client/src/index.html
index 79c3edea8d..61a8d2ed1d 100644
--- a/client/src/index.html
+++ b/client/src/index.html
@@ -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! -->