Skip to content

Commit

Permalink
Merge pull request #109 from RonasIT/108-enable-throw-mode-for-filesy…
Browse files Browse the repository at this point in the history
…stem-drivers

#108: Enable throw mode for filesystem drivers
  • Loading branch information
DenTray authored Dec 9, 2024
2 parents 3a89438 + 687924a commit 544255c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/filesystems.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
'throw' => false,
'throw' => true,
],

'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL') . '/storage',
'visibility' => 'public',
'throw' => false,
'throw' => true,
],

's3' => [
Expand All @@ -53,7 +53,7 @@
'url' => env('AWS_URL'),
'endpoint' => env('AWS_ENDPOINT'),
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
'throw' => false,
'throw' => true,
],

'gcs' => [
Expand All @@ -63,7 +63,7 @@
'bucket' => env('GOOGLE_CLOUD_STORAGE_BUCKET'),
'path_prefix' => env('GOOGLE_CLOUD_STORAGE_PATH_PREFIX', null),
'visibility' => 'public',
'throw' => false,
'throw' => true,
],
],

Expand Down

0 comments on commit 544255c

Please sign in to comment.