diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-26 15:49:57 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-26 15:49:57 +0100 |
commit | 4ba3b8ea1be85d95a508ac479f26b96ceea15971 (patch) | |
tree | f76de3c6ec591cf885e5000f0e369aab883f3d95 /server/initializers/constants.ts | |
parent | 7859b5800c08c15f3380fb3a7e267ce1b3f2df9f (diff) | |
download | PeerTube-4ba3b8ea1be85d95a508ac479f26b96ceea15971.tar.gz PeerTube-4ba3b8ea1be85d95a508ac479f26b96ceea15971.tar.zst PeerTube-4ba3b8ea1be85d95a508ac479f26b96ceea15971.zip |
Don't rehost announced video activities
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 329d0ffe8..a88f9642c 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -12,7 +12,7 @@ let config: IConfig = require('config') | |||
12 | 12 | ||
13 | // --------------------------------------------------------------------------- | 13 | // --------------------------------------------------------------------------- |
14 | 14 | ||
15 | const LAST_MIGRATION_VERSION = 180 | 15 | const LAST_MIGRATION_VERSION = 185 |
16 | 16 | ||
17 | // --------------------------------------------------------------------------- | 17 | // --------------------------------------------------------------------------- |
18 | 18 | ||
@@ -196,6 +196,9 @@ const CONSTRAINTS_FIELDS = { | |||
196 | VIDEO_COMMENTS: { | 196 | VIDEO_COMMENTS: { |
197 | TEXT: { min: 2, max: 3000 }, // Length | 197 | TEXT: { min: 2, max: 3000 }, // Length |
198 | URL: { min: 3, max: 2000 } // Length | 198 | URL: { min: 3, max: 2000 } // Length |
199 | }, | ||
200 | VIDEO_SHARE: { | ||
201 | URL: { min: 3, max: 2000 } // Length | ||
199 | } | 202 | } |
200 | } | 203 | } |
201 | 204 | ||