diff options
author | Sam Light <samlight1994@gmail.com> | 2022-09-07 10:43:01 +0100 |
---|---|---|
committer | Sam Light <samlight1994@gmail.com> | 2022-09-07 10:43:01 +0100 |
commit | 8b838455f84e191d8f7391590a1bcde14e98f032 (patch) | |
tree | cbae07a864aefcccc96d442ded5f0d61bff18af6 /src/Http/Controllers/ScormPlayerController.php | |
parent | 9635f686d30d86ac98d0b5f17308d71b024a6396 (diff) |
Use scorm.disk config option for serving static files
Diffstat (limited to 'src/Http/Controllers/ScormPlayerController.php')
-rw-r--r-- | src/Http/Controllers/ScormPlayerController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Http/Controllers/ScormPlayerController.php b/src/Http/Controllers/ScormPlayerController.php index 7c801c9..a15f0a4 100644 --- a/src/Http/Controllers/ScormPlayerController.php +++ b/src/Http/Controllers/ScormPlayerController.php @@ -48,7 +48,7 @@ class ScormPlayerController extends Controller public function serveModule(string $uuid, string $path) { - $path = Storage::disk('scorm-local')->path("{$uuid}/{$path}"); + $path = Storage::disk(config('scorm.disk'))->path("{$uuid}/{$path}"); $mime = MimeType::from($path); try { |