Skip to content

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

Fix manifest

Chocobozzz03aa518e54e3
diff --git a/client/src/manifest.webmanifest b/client/src/manifest.webmanifest
index 6e62856cdf..b2a458aec1 100644
--- a/client/src/manifest.webmanifest
+++ b/client/src/manifest.webmanifest
@@ -2,6 +2,7 @@
"name": "PeerTube",
"short_name": "PeerTube",
"start_url": "/",
+ "scope": "/",
"background_color": "#fff",
"theme_color": "#fff",
"description": "A federated video streaming platform using P2P",
diff --git a/server/controllers/client.ts b/server/controllers/client.ts
index 538411d991..557cbfdfb2 100644
--- a/server/controllers/client.ts
+++ b/server/controllers/client.ts
@@ -48,7 +48,7 @@ clientsRouter.use('/videos/test-embed', testEmbedController)
clientsRouter.use('/video-playlists/test-embed', testEmbedController)
// Dynamic PWA manifest
-clientsRouter.get(/\/client\/[^/]+\/manifest.webmanifest/, asyncMiddleware(generateManifest))
+clientsRouter.get('/manifest.webmanifest', asyncMiddleware(generateManifest))
// Static client overrides
// Must be consistent with static client overrides redirections in /support/nginx/peertube