From f24c16ce90488e4ea2b9208cb63176b5bb8763b2 Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Sun, 22 Jan 2023 18:52:17 -0500 Subject: [PATCH] increase post limit --- src/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api.js b/src/api.js index 8091a3c..3e4cb4d 100644 --- a/src/api.js +++ b/src/api.js @@ -93,7 +93,7 @@ router.post('/auth/self', (req, res) => { router.post('/posts/create', (req, res) => { const content = req.body.content - if (text(content, 1, 420)) { + if (text(content, 1, 1000)) { res.status(400).send({msg: 'Invalid content'}); return; } const cookies = req.cookies;