aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.js')
-rw-r--r--server/initializers/constants.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/constants.js b/server/initializers/constants.js
index 6fa322010..22cbb1361 100644
--- a/server/initializers/constants.js
+++ b/server/initializers/constants.js
@@ -41,8 +41,8 @@ const THUMBNAILS_SIZE = '200x110'
41const THUMBNAILS_STATIC_PATH = '/static/thumbnails' 41const THUMBNAILS_STATIC_PATH = '/static/thumbnails'
42 42
43const VIDEOS_CONSTRAINTS_FIELDS = { 43const VIDEOS_CONSTRAINTS_FIELDS = {
44 NAME: { min: 1, max: 50 }, // Length 44 NAME: { min: 3, max: 50 }, // Length
45 DESCRIPTION: { min: 1, max: 250 }, // Length 45 DESCRIPTION: { min: 3, max: 250 }, // Length
46 MAGNET_URI: { min: 10 }, // Length 46 MAGNET_URI: { min: 10 }, // Length
47 DURATION: { min: 1, max: 7200 }, // Number 47 DURATION: { min: 1, max: 7200 }, // Number
48 AUTHOR: { min: 3, max: 20 }, // Length 48 AUTHOR: { min: 3, max: 20 }, // Length