diff options
-rw-r--r-- | client/src/manifest.webmanifest | 1 | ||||
-rw-r--r-- | server/controllers/client.ts | 2 |
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) | |||
48 | clientsRouter.use('/video-playlists/test-embed', testEmbedController) | 48 | clientsRouter.use('/video-playlists/test-embed', testEmbedController) |
49 | 49 | ||
50 | // Dynamic PWA manifest | 50 | // Dynamic PWA manifest |
51 | clientsRouter.get(/\/client\/[^/]+\/manifest.webmanifest/, asyncMiddleware(generateManifest)) | 51 | clientsRouter.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 |