From: Dan Brown Date: Mon, 15 Jan 2024 13:36:04 +0000 (+0000) Subject: Uploads: Explicitly disabled s3 streaming in config X-Git-Tag: v24.02~1^2~24^2 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/refs/pull/4758/head?ds=inline Uploads: Explicitly disabled s3 streaming in config This was the default option anyway, just adding here for better visibility of this being set. Can't enable without issues as the app will attempt to seek which does not work for these streams. Also have not tested on non-s3, s3-like systems. --- diff --git a/app/Config/filesystems.php b/app/Config/filesystems.php index e6ae0fed3..1319c8886 100644 --- a/app/Config/filesystems.php +++ b/app/Config/filesystems.php @@ -58,6 +58,7 @@ return [ 'endpoint' => env('STORAGE_S3_ENDPOINT', null), 'use_path_style_endpoint' => env('STORAGE_S3_ENDPOINT', null) !== null, 'throw' => true, + 'stream_reads' => false, ], ],