🔒 Update media routes to support private disk and enhance file handling

- 🗂️ Change default filesystem disk from `local` to `private` in configuration
- 📤 Use `Storage::disk` for media download and response functionality
- ⚙️ Refactor download and file response logic for improved security and consistency
This commit is contained in:
HolgerHatGarKeineNode
2026-01-25 19:45:12 +01:00
parent 1391808793
commit 1a73912dd9
2 changed files with 14 additions and 6 deletions

View File

@@ -13,7 +13,7 @@ return [
|
*/
'default' => env('FILESYSTEM_DISK', 'local'),
'default' => env('FILESYSTEM_DISK', 'private'),
/*
|--------------------------------------------------------------------------