- 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.
15 lines
288 B
PHP
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'],
|
|
];
|