X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/1ff28266787b0f160697cdc74dfb05907611fcc6..c8cfec96dc11a3adaed7f7c3545ca35faa5deab3:/app/Exports/Controllers/ChapterExportController.php diff --git a/app/Exports/Controllers/ChapterExportController.php b/app/Exports/Controllers/ChapterExportController.php index de2385bb1..849024343 100644 --- a/app/Exports/Controllers/ChapterExportController.php +++ b/app/Exports/Controllers/ChapterExportController.php @@ -82,6 +82,6 @@ class ChapterExportController extends Controller $chapter = $this->queries->findVisibleBySlugsOrFail($bookSlug, $chapterSlug); $zip = $builder->buildForChapter($chapter); - return $this->download()->streamedFileDirectly($zip, $chapterSlug . '.zip', filesize($zip), true); + return $this->download()->streamedFileDirectly($zip, $chapterSlug . '.zip', true); } }