aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index b93a85859..2e3472d1e 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -110,7 +110,7 @@ const CONSTRAINTS_FIELDS = {
110 NAME: { min: 3, max: 50 }, // Length 110 NAME: { min: 3, max: 50 }, // Length
111 DESCRIPTION: { min: 3, max: 250 }, // Length 111 DESCRIPTION: { min: 3, max: 250 }, // Length
112 EXTNAME: [ '.mp4', '.ogv', '.webm' ], 112 EXTNAME: [ '.mp4', '.ogv', '.webm' ],
113 INFO_HASH: { min: 40, max: 40 }, // Length, infohash is 20 bytes length but we represent it in hexa so 20 * 2 113 INFO_HASH: { min: 40, max: 40 }, // Length, info hash is 20 bytes length but we represent it in hexadecimal so 20 * 2
114 DURATION: { min: 1, max: 7200 }, // Number 114 DURATION: { min: 1, max: 7200 }, // Number
115 TAGS: { min: 0, max: 3 }, // Number of total tags 115 TAGS: { min: 0, max: 3 }, // Number of total tags
116 TAG: { min: 2, max: 10 }, // Length 116 TAG: { min: 2, max: 10 }, // Length