diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-06-24 17:42:51 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-06-24 17:42:51 +0200 |
commit | aaf61f3810e6d57c5130af959bd2860df32775e7 (patch) | |
tree | 3871b20359aa56995a4b8974ae5cb6b911dd73f5 /server/initializers/constants.js | |
parent | 07d932038745e773359fa87bac6be70523f593ee (diff) | |
download | PeerTube-aaf61f3810e6d57c5130af959bd2860df32775e7.tar.gz PeerTube-aaf61f3810e6d57c5130af959bd2860df32775e7.tar.zst PeerTube-aaf61f3810e6d57c5130af959bd2860df32775e7.zip |
Video model refractoring -> use mongoose api
Diffstat (limited to 'server/initializers/constants.js')
-rw-r--r-- | server/initializers/constants.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/constants.js b/server/initializers/constants.js index caeb340cf..1f9876c4b 100644 --- a/server/initializers/constants.js +++ b/server/initializers/constants.js | |||
@@ -48,7 +48,8 @@ const VIDEOS_CONSTRAINTS_FIELDS = { | |||
48 | AUTHOR: { min: 3, max: 20 }, // Length | 48 | AUTHOR: { min: 3, max: 20 }, // Length |
49 | TAGS: { min: 1, max: 3 }, // Number of total tags | 49 | TAGS: { min: 1, max: 3 }, // Number of total tags |
50 | TAG: { min: 2, max: 10 }, // Length | 50 | TAG: { min: 2, max: 10 }, // Length |
51 | THUMBNAIL: { min: 0, max: 20000 } // Bytes | 51 | THUMBNAIL: { min: 2, max: 30 }, |
52 | THUMBNAIL64: { min: 0, max: 20000 } // Bytes | ||
52 | } | 53 | } |
53 | 54 | ||
54 | // Special constants for a test instance | 55 | // Special constants for a test instance |