increase post limit
This commit is contained in:
parent
901bd25148
commit
f24c16ce90
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue