File(image) upload and storage

This commit is contained in:
Torsten 2020-02-06 08:15:12 +01:00
parent 0263c0f838
commit 81f32f2d09
7 changed files with 43 additions and 19 deletions

View file

@ -54,7 +54,12 @@ return [
'url' => env('APP_URL').'/storage',
'visibility' => 'public',
],
'images' => [
'driver' => 'local',
'root' => public_path().'/upload/images',
'url' => env('APP_URL').'/public',
'visibility' => 'public',
],
's3' => [
'driver' => 's3',
'key' => env('AWS_ACCESS_KEY_ID'),