diff options
author | Chocobozzz <me@florianbigard.com> | 2020-05-05 16:48:30 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-05-05 16:48:30 +0200 |
commit | 298b3fd31529c047e87d34d397af3b08833bd8d0 (patch) | |
tree | 505d5478da1acbdb1e99d4eca53fe16206bd2b8f /server/initializers | |
parent | 4c576aca1cb8652d88f6673f1d870b53654058d5 (diff) | |
download | PeerTube-298b3fd31529c047e87d34d397af3b08833bd8d0.tar.gz PeerTube-298b3fd31529c047e87d34d397af3b08833bd8d0.tar.zst PeerTube-298b3fd31529c047e87d34d397af3b08833bd8d0.zip |
Increase video comments limit
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index d583912fb..298322e3d 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -283,7 +283,7 @@ const CONSTRAINTS_FIELDS = { | |||
283 | COUNT: { min: 0 } | 283 | COUNT: { min: 0 } |
284 | }, | 284 | }, |
285 | VIDEO_COMMENTS: { | 285 | VIDEO_COMMENTS: { |
286 | TEXT: { min: 1, max: 3000 }, // Length | 286 | TEXT: { min: 1, max: 10000 }, // Length |
287 | URL: { min: 3, max: 2000 } // Length | 287 | URL: { min: 3, max: 2000 } // Length |
288 | }, | 288 | }, |
289 | VIDEO_SHARE: { | 289 | VIDEO_SHARE: { |