diff options
author | Tyler Murphy <tylermurphy534@gmail.com> | 2023-01-22 18:52:17 -0500 |
---|---|---|
committer | Tyler Murphy <tylermurphy534@gmail.com> | 2023-01-22 18:52:17 -0500 |
commit | f24c16ce90488e4ea2b9208cb63176b5bb8763b2 (patch) | |
tree | 6ecc9d210c074c7a902504e40d1942394dde48ab | |
parent | fix endpoint (diff) | |
download | xssbook-f24c16ce90488e4ea2b9208cb63176b5bb8763b2.tar.gz xssbook-f24c16ce90488e4ea2b9208cb63176b5bb8763b2.tar.bz2 xssbook-f24c16ce90488e4ea2b9208cb63176b5bb8763b2.zip |
increase post limit
-rw-r--r-- | src/api.js | 2 |
1 files changed, 1 insertions, 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; |