Fix manifest

pull/3628/head
Chocobozzz 2021-01-19 10:47:04 +01:00
parent 2656729e25
commit 03aa518e54
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 2 additions and 1 deletions

View File

@ -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",

View File

@ -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