mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-27 06:33:18 +00:00
🔒 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:
@@ -13,7 +13,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'default' => env('FILESYSTEM_DISK', 'local'),
|
||||
'default' => env('FILESYSTEM_DISK', 'private'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user