Fix manifest
This commit is contained in:
parent
2656729e25
commit
03aa518e54
|
@ -2,6 +2,7 @@
|
||||||
"name": "PeerTube",
|
"name": "PeerTube",
|
||||||
"short_name": "PeerTube",
|
"short_name": "PeerTube",
|
||||||
"start_url": "/",
|
"start_url": "/",
|
||||||
|
"scope": "/",
|
||||||
"background_color": "#fff",
|
"background_color": "#fff",
|
||||||
"theme_color": "#fff",
|
"theme_color": "#fff",
|
||||||
"description": "A federated video streaming platform using P2P",
|
"description": "A federated video streaming platform using P2P",
|
||||||
|
|
|
@ -48,7 +48,7 @@ clientsRouter.use('/videos/test-embed', testEmbedController)
|
||||||
clientsRouter.use('/video-playlists/test-embed', testEmbedController)
|
clientsRouter.use('/video-playlists/test-embed', testEmbedController)
|
||||||
|
|
||||||
// Dynamic PWA manifest
|
// Dynamic PWA manifest
|
||||||
clientsRouter.get(/\/client\/[^/]+\/manifest.webmanifest/, asyncMiddleware(generateManifest))
|
clientsRouter.get('/manifest.webmanifest', asyncMiddleware(generateManifest))
|
||||||
|
|
||||||
// Static client overrides
|
// Static client overrides
|
||||||
// Must be consistent with static client overrides redirections in /support/nginx/peertube
|
// Must be consistent with static client overrides redirections in /support/nginx/peertube
|
||||||
|
|
Loading…
Reference in New Issue