ldc-ovoteam/config/storage-service.php
Jérémy Munsch c3cee9910b
chore: integrate PublicS3Disk and PrivateS3Disk classes
- Added PublicS3Disk and PrivateS3Disk classes for S3 disk management.
- Updated ProductController and RecipeController to utilize PublicS3Disk for file uploads.
- Modified MediaController to redirect to S3 URLs.
- Enhanced migration script to support file migration to new S3 structure.
- Updated filesystem and storage service configurations for public/private S3 disks.
2026-11-04 16:42:20 +01:00

17 lines
333 B
PHP

<?php
declare(strict_types=1);
return [
'default' => 's3-private',
'eligibleDisks' => [
's3-public',
's3-private',
's3',
],
'prefix' => env('STORAGE_SERVICE_PREFIX', 'media'),
'allowedExtensions' => ['jpg', 'jpeg', 'png', 'gif', 'pdf', 'txt', 'doc', 'docx', 'csv', 'mp4', 'webm'],
];