Merge remote-tracking branch 'origin/dev'
This commit is contained in:
commit
dc14d2f78f
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "f0ckv2",
|
"name": "f0ckv2",
|
||||||
"version": "2.2.0",
|
"version": "2.2.1",
|
||||||
"description": "f0ck, kennste?",
|
"description": "f0ck, kennste?",
|
||||||
"main": "index.mjs",
|
"main": "index.mjs",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -30,7 +30,7 @@ export default router => {
|
||||||
const postid = +req.params.postid;
|
const postid = +req.params.postid;
|
||||||
const tagname = req.post.tagname?.trim();
|
const tagname = req.post.tagname?.trim();
|
||||||
|
|
||||||
if(tagname.length >= 45) {
|
if(tagname.length > 70) {
|
||||||
return res.json({
|
return res.json({
|
||||||
success: false,
|
success: false,
|
||||||
msg: 'tag is too long!'
|
msg: 'tag is too long!'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user