increase max special characters

This commit is contained in:
Mystikfluu 2022-08-11 14:16:52 +02:00
parent c6db7b86e7
commit 6cfbe1418f
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ module.exports = {
req.body.message = encodeURIComponent(req.body.message.trim())
if(req.body.message.length > 1000) {
if(req.body.message.length > 3000) {
res.json({"error":"message too long"}) //check again after URI encoding it
return
}

View File

@ -55,7 +55,7 @@ module.exports = {
req.body.message = encodeURIComponent(req.body.message.trim())
if(req.body.message.length > 1000) {
if(req.body.message.length > 3000) {
res.json({"error":"message too long"}) //check again after URI encoding it
return
}