]> BookStack Code Mirror - bookstack/blobdiff - app/Exports/Controllers/BookExportController.php
Merge pull request #5731 from BookStackApp/lexical_jul25
[bookstack] / app / Exports / Controllers / BookExportController.php
index b6b1006bd61371b633cfb1a9c7f9f80a710345f2..67247598c318b8e8de6e681994b5a4c9190c8c71 100644 (file)
@@ -76,6 +76,6 @@ class BookExportController extends Controller
         $book = $this->queries->findVisibleBySlugOrFail($bookSlug);
         $zip = $builder->buildForBook($book);
 
-        return $this->download()->streamedFileDirectly($zip, $bookSlug . '.zip', filesize($zip), true);
+        return $this->download()->streamedFileDirectly($zip, $bookSlug . '.zip', true);
     }
 }