From ecd5bf306aa0ac1a7733063da690589212747943 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Tue, 18 Sep 2018 18:52:56 +0200 Subject: [PATCH] fixup! feat: Add support for HTTP range requests when stream mode is enabled --- controllers/FrontController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/FrontController.php b/controllers/FrontController.php index d6b7823..370d4d8 100644 --- a/controllers/FrontController.php +++ b/controllers/FrontController.php @@ -426,8 +426,8 @@ class FrontController 'GET', $video->url, [ - 'stream' => true, - 'headers' => ['Range' => $request->getHeader('Range')] + 'stream' => true, + 'headers' => ['Range' => $request->getHeader('Range')], ] ); $response = $response->withHeader('Content-Type', $stream->getHeader('Content-Type'));