increase post limit

This commit is contained in:
Tyler Murphy 2023-01-22 18:52:17 -05:00
parent 901bd25148
commit f24c16ce90

View file

@ -93,7 +93,7 @@ router.post('/auth/self', (req, res) => {
router.post('/posts/create', (req, res) => { router.post('/posts/create', (req, res) => {
const content = req.body.content const content = req.body.content
if (text(content, 1, 420)) { if (text(content, 1, 1000)) {
res.status(400).send({msg: 'Invalid content'}); return; res.status(400).send({msg: 'Invalid content'}); return;
} }
const cookies = req.cookies; const cookies = req.cookies;