fix: error when downloading book file over 2GB

Closes: #897
This commit is contained in:
Gauthier Roebroeck 2022-06-10 21:31:51 +08:00
parent 3f69206064
commit ad82d99dbe

View file

@ -391,7 +391,6 @@ class BookController(
},
)
.contentType(getMediaTypeOrDefault(media.mediaType))
.contentLength(this.contentLength())
.body(stream)
}
} catch (ex: FileNotFoundException) {