pull/231/head
Varun Patil 2022-11-22 06:30:24 -08:00
parent c3ddd4087f
commit 71323da83a
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ class VideoController extends ApiBase
$response = new DataDisplayResponse($blob, Http::STATUS_OK, []); $response = new DataDisplayResponse($blob, Http::STATUS_OK, []);
$response->setHeaders([ $response->setHeaders([
'Content-Type' => $liveFile->getMimeType(), 'Content-Type' => $liveFile->getMimeType(),
'Content-Disposition' => "attachment; filename=\"$name\"", 'Content-Disposition' => "attachment; filename=\"{$name}\"",
]); ]);
$response->cacheFor(3600 * 24, false, false); $response->cacheFor(3600 * 24, false, false);