Learnpath: Fix loading ressources inside scorm iframe - refs GH#2069

Author: @christianbeeznest
pull/4575/head
christianbeeznest 2 years ago committed by GitHub
parent 181ae187f0
commit 23c399d5c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/CoreBundle/Controller/AssetController.php

@ -72,8 +72,7 @@ class AssetController
$fileName
);
$response->headers->set('Content-Disposition', $disposition);
//$response->headers->set('Content-Type', $mimeType ?: 'application/octet-stream');
$response->headers->set('Content-Type', $mimeType ?: 'application/octet-stream');
return $response;
}

Loading…
Cancel
Save