]> BookStack Code Mirror - bookstack/blobdiff - app/Config/filesystems.php
Add optional OIDC avatar fetching from the “picture” claim
[bookstack] / app / Config / filesystems.php
index e6ae0fed364883c35d10ee02a4b7bc68c8ea0243..08ae7b047769d13c0c55184b0b6b5a6241c1935a 100644 (file)
@@ -33,12 +33,14 @@ return [
             'driver'     => 'local',
             'root'       => public_path(),
             'visibility' => 'public',
+            'serve'      => false,
             'throw'      => true,
         ],
 
         'local_secure_attachments' => [
             'driver' => 'local',
             'root'   => storage_path('uploads/files/'),
+            'serve'  => false,
             'throw'  => true,
         ],
 
@@ -46,6 +48,7 @@ return [
             'driver'     => 'local',
             'root'       => storage_path('uploads/images/'),
             'visibility' => 'public',
+            'serve'      => false,
             'throw'      => true,
         ],
 
@@ -58,6 +61,7 @@ return [
             'endpoint'                => env('STORAGE_S3_ENDPOINT', null),
             'use_path_style_endpoint' => env('STORAGE_S3_ENDPOINT', null) !== null,
             'throw'                   => true,
+            'stream_reads'            => false,
         ],
 
     ],