ldc-file-storage-service/config/storage-service.php
Jérémy Munsch 8dc7434133
feat(StorageServiceConfig): add prefix handling and validation
- Introduced prefix property in StorageServiceConfig.
- Implemented prefix validation and trimming logic.
- Updated path generators to utilize the configured prefix.
- Added tests for prefix validation and retrieval.
2026-11-04 08:11:57 +01:00

15 lines
288 B
PHP

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