]> BookStack Code Mirror - bookstack/blobdiff - app/Config/filesystems.php
Fixed failing references after controller/file reshuffle
[bookstack] / app / Config / filesystems.php
index 4d59ba9192dcd06840b5c31a39f09b15a84422e7..e6ae0fed364883c35d10ee02a4b7bc68c8ea0243 100644 (file)
@@ -30,20 +30,23 @@ return [
     'disks' => [
 
         'local' => [
-            'driver' => 'local',
-            'root'   => public_path(),
+            'driver'     => 'local',
+            'root'       => public_path(),
             'visibility' => 'public',
+            'throw'      => true,
         ],
 
         'local_secure_attachments' => [
             'driver' => 'local',
             'root'   => storage_path('uploads/files/'),
+            'throw'  => true,
         ],
 
         'local_secure_images' => [
-            'driver' => 'local',
-            'root'   => storage_path('uploads/images/'),
+            'driver'     => 'local',
+            'root'       => storage_path('uploads/images/'),
             'visibility' => 'public',
+            'throw'      => true,
         ],
 
         's3' => [
@@ -54,6 +57,7 @@ return [
             'bucket'                  => env('STORAGE_S3_BUCKET', 'your-bucket'),
             'endpoint'                => env('STORAGE_S3_ENDPOINT', null),
             'use_path_style_endpoint' => env('STORAGE_S3_ENDPOINT', null) !== null,
+            'throw'                   => true,
         ],
 
     ],