From 23c399d5c86223c6930bd787c51321b8d532b68d Mon Sep 17 00:00:00 2001 From: christianbeeznest <84335353+christianbeeznest@users.noreply.github.com> Date: Tue, 31 Jan 2023 07:08:26 -0500 Subject: [PATCH] Learnpath: Fix loading ressources inside scorm iframe - refs GH#2069 Author: @christianbeeznest --- src/CoreBundle/Controller/AssetController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/CoreBundle/Controller/AssetController.php b/src/CoreBundle/Controller/AssetController.php index 7554a7783c..934320ce43 100644 --- a/src/CoreBundle/Controller/AssetController.php +++ b/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; }