diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-11-11 15:44:08 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-11-16 20:29:26 +0100 |
commit | 41b5da1d8cb41f5c49f0e0a01a54106c9a5925dd (patch) | |
tree | 03033e34a2c0c924415e1639ee7d476007699e92 /server/initializers | |
parent | 55723d16fd0e323ce7175db8c4806c73d18b895d (diff) | |
download | PeerTube-41b5da1d8cb41f5c49f0e0a01a54106c9a5925dd.tar.gz PeerTube-41b5da1d8cb41f5c49f0e0a01a54106c9a5925dd.tar.zst PeerTube-41b5da1d8cb41f5c49f0e0a01a54106c9a5925dd.zip |
Server: use preview image for opengraph
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/constants.js b/server/initializers/constants.js index 55129fa3e..c808aff5f 100644 --- a/server/initializers/constants.js +++ b/server/initializers/constants.js | |||
@@ -67,7 +67,7 @@ const CONSTRAINTS_FIELDS = { | |||
67 | NAME: { min: 3, max: 50 }, // Length | 67 | NAME: { min: 3, max: 50 }, // Length |
68 | DESCRIPTION: { min: 3, max: 250 }, // Length | 68 | DESCRIPTION: { min: 3, max: 250 }, // Length |
69 | MAGNET: { | 69 | MAGNET: { |
70 | XT: { min: 10 } // Length | 70 | INFO_HASH: { min: 10, max: 50 } // Length |
71 | }, | 71 | }, |
72 | DURATION: { min: 1, max: 7200 }, // Number | 72 | DURATION: { min: 1, max: 7200 }, // Number |
73 | TAGS: { min: 1, max: 3 }, // Number of total tags | 73 | TAGS: { min: 1, max: 3 }, // Number of total tags |