projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b00d377
)
Limit comment length to 1 character, fixes #394 (#399)
author
Aurélien Bertron
<aurelienbertron@gmail.com>
Sat, 24 Mar 2018 18:40:48 +0000
(19:40 +0100)
committer
Rigel Kent
<par@rigelk.eu>
Sat, 24 Mar 2018 18:40:48 +0000
(19:40 +0100)
server/initializers/constants.ts
patch
|
blob
|
history
diff --git
a/server/initializers/constants.ts
b/server/initializers/constants.ts
index 705d9b5200e8a53a0ad097bf4f785e27648e3e21..481b21bbb2e3ffaa1b0c8697671b018fa7808ba3 100644
(file)
--- a/
server/initializers/constants.ts
+++ b/
server/initializers/constants.ts
@@
-226,7
+226,7
@@
const CONSTRAINTS_FIELDS = {
COUNT: { min: 0 }
},
VIDEO_COMMENTS: {
- TEXT: { min:
2
, max: 3000 }, // Length
+ TEXT: { min:
1
, max: 3000 }, // Length
URL: { min: 3, max: 2000 } // Length
},
VIDEO_SHARE: {