Update max allowed json request size #4250

This commit is contained in:
advplyr committed 2025-05-20 17:44:13 -05:00
1 parent 733afc3e29
commit cae874ef05
2 files changed
+3 -3

No files matched your search

@@ -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