X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/5903823eed6c0807277ce6d4b613f64bf37231e9..refs/pull/5591/head:/app/Config/filesystems.php diff --git a/app/Config/filesystems.php b/app/Config/filesystems.php index 1319c8886..08ae7b047 100644 --- a/app/Config/filesystems.php +++ b/app/Config/filesystems.php @@ -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, ],