]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/static.ts
Fix fragmented download URL
[github/Chocobozzz/PeerTube.git] / server / controllers / static.ts
index 06123518f0b275b11a0f02cd6ca934711b3bc429..7c900be9268ec4e286db0b17959920535a80891c 100644 (file)
@@ -67,7 +67,7 @@ staticRouter.use(
 )
 
 staticRouter.use(
-  STATIC_DOWNLOAD_PATHS.HLS_VIDEOS + ':id-:resolution([0-9]+).:extension',
+  STATIC_DOWNLOAD_PATHS.HLS_VIDEOS + ':id-:resolution([0-9]+)-fragmented.:extension',
   asyncMiddleware(videosGetValidator),
   asyncMiddleware(downloadHLSVideoFile)
 )