aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-01-19 10:47:04 +0100
committerChocobozzz <me@florianbigard.com>2021-01-19 10:47:04 +0100
commit03aa518e54e3e1a5223f84bb305df640b633fc2f (patch)
treea9894525a08783b0ea53b2ff42998d8326396a3f
parent2656729e25ba438d3f80f5178a430b2c54339bb3 (diff)
downloadPeerTube-03aa518e54e3e1a5223f84bb305df640b633fc2f.tar.gz
PeerTube-03aa518e54e3e1a5223f84bb305df640b633fc2f.tar.zst
PeerTube-03aa518e54e3e1a5223f84bb305df640b633fc2f.zip
Fix manifest
-rw-r--r--client/src/manifest.webmanifest1
-rw-r--r--server/controllers/client.ts2
2 files changed, 2 insertions, 1 deletions
diff --git a/client/src/manifest.webmanifest b/client/src/manifest.webmanifest
index 6e62856cd..b2a458aec 100644
--- a/client/src/manifest.webmanifest
+++ b/client/src/manifest.webmanifest
@@ -2,6 +2,7 @@
2 "name": "PeerTube", 2 "name": "PeerTube",
3 "short_name": "PeerTube", 3 "short_name": "PeerTube",
4 "start_url": "/", 4 "start_url": "/",
5 "scope": "/",
5 "background_color": "#fff", 6 "background_color": "#fff",
6 "theme_color": "#fff", 7 "theme_color": "#fff",
7 "description": "A federated video streaming platform using P2P", 8 "description": "A federated video streaming platform using P2P",
diff --git a/server/controllers/client.ts b/server/controllers/client.ts
index 538411d99..557cbfdfb 100644
--- a/server/controllers/client.ts
+++ b/server/controllers/client.ts
@@ -48,7 +48,7 @@ clientsRouter.use('/videos/test-embed', testEmbedController)
48clientsRouter.use('/video-playlists/test-embed', testEmbedController) 48clientsRouter.use('/video-playlists/test-embed', testEmbedController)
49 49
50// Dynamic PWA manifest 50// Dynamic PWA manifest
51clientsRouter.get(/\/client\/[^/]+\/manifest.webmanifest/, asyncMiddleware(generateManifest)) 51clientsRouter.get('/manifest.webmanifest', asyncMiddleware(generateManifest))
52 52
53// Static client overrides 53// Static client overrides
54// Must be consistent with static client overrides redirections in /support/nginx/peertube 54// Must be consistent with static client overrides redirections in /support/nginx/peertube