Skip to content

Commit

Permalink
fix: error when downloading book file over 2GB
Browse files Browse the repository at this point in the history
Closes: #897
  • Loading branch information
gotson committed Jun 10, 2022
1 parent 3f69206 commit ad82d99
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,6 @@ class BookController(
},
)
.contentType(getMediaTypeOrDefault(media.mediaType))
.contentLength(this.contentLength())
.body(stream)
}
} catch (ex: FileNotFoundException) {
Expand Down

0 comments on commit ad82d99

Please sign in to comment.