diff options
author | Chocobozzz <me@florianbigard.com> | 2019-11-22 17:27:46 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-11-25 10:59:50 +0100 |
commit | efcd6f2e625c1c5d06025f27a2bf3a84d3f8b483 (patch) | |
tree | 03d961f65aec199ec32cb592831b1381bd50a149 /server/controllers/static.ts | |
parent | 0f2f274c9837bbcd95446778314c9c32831faa0e (diff) | |
download | PeerTube-efcd6f2e625c1c5d06025f27a2bf3a84d3f8b483.tar.gz PeerTube-efcd6f2e625c1c5d06025f27a2bf3a84d3f8b483.tar.zst PeerTube-efcd6f2e625c1c5d06025f27a2bf3a84d3f8b483.zip |
Fix fragmented download URL
Diffstat (limited to 'server/controllers/static.ts')
-rw-r--r-- | server/controllers/static.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/static.ts b/server/controllers/static.ts index 06123518f..7c900be92 100644 --- a/server/controllers/static.ts +++ b/server/controllers/static.ts | |||
@@ -67,7 +67,7 @@ staticRouter.use( | |||
67 | ) | 67 | ) |
68 | 68 | ||
69 | staticRouter.use( | 69 | staticRouter.use( |
70 | STATIC_DOWNLOAD_PATHS.HLS_VIDEOS + ':id-:resolution([0-9]+).:extension', | 70 | STATIC_DOWNLOAD_PATHS.HLS_VIDEOS + ':id-:resolution([0-9]+)-fragmented.:extension', |
71 | asyncMiddleware(videosGetValidator), | 71 | asyncMiddleware(videosGetValidator), |
72 | asyncMiddleware(downloadHLSVideoFile) | 72 | asyncMiddleware(downloadHLSVideoFile) |
73 | ) | 73 | ) |