X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/d5a91d0d352617674205636a39db87fda2643377..refs/pull/5676/head:/app/Config/filesystems.php diff --git a/app/Config/filesystems.php b/app/Config/filesystems.php index 1319c8886..ab73fec29 100644 --- a/app/Config/filesystems.php +++ b/app/Config/filesystems.php @@ -32,20 +32,22 @@ return [ 'local' => [ 'driver' => 'local', 'root' => public_path(), - 'visibility' => 'public', + 'serve' => false, 'throw' => true, + 'directory_visibility' => 'public', ], 'local_secure_attachments' => [ 'driver' => 'local', 'root' => storage_path('uploads/files/'), + 'serve' => false, 'throw' => true, ], 'local_secure_images' => [ 'driver' => 'local', 'root' => storage_path('uploads/images/'), - 'visibility' => 'public', + 'serve' => false, 'throw' => true, ],