Fix for https://github.com/advplyr/audiobookshelf/issues/4250 by increasing request size for very large podcasts archives.

This commit is contained in:
Guardian1987 2025-05-16 11:10:48 +02:00 committed by GitHub
parent 8d0434143c
commit f54c271ba9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -244,8 +244,8 @@ export default {
const sizeInMb = payloadSize / 1024 / 1024
const sizeInMbPretty = sizeInMb.toFixed(2) + 'MB'
console.log('Request size', sizeInMb)
if (sizeInMb > 4.99) {
return this.$toast.error(`Request is too large (${sizeInMbPretty}) should be < 5Mb`)
if (sizeInMb > 9.99) {
return this.$toast.error(`Request is too large (${sizeInMbPretty}) should be < 10Mb`)
}
this.processing = true