1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

Import magnets with webtorrent

This commit is contained in:
Chocobozzz 2018-08-06 17:13:39 +02:00
parent 788487140c
commit ce33919c24
23 changed files with 648 additions and 142 deletions

View file

@ -15,7 +15,7 @@ let config: IConfig = require('config')
// ---------------------------------------------------------------------------
const LAST_MIGRATION_VERSION = 240
const LAST_MIGRATION_VERSION = 245
// ---------------------------------------------------------------------------
@ -271,7 +271,8 @@ const CONSTRAINTS_FIELDS = {
}
},
VIDEO_IMPORTS: {
URL: { min: 3, max: 2000 } // Length
URL: { min: 3, max: 2000 }, // Length
TORRENT_NAME: { min: 3, max: 255 }, // Length
},
VIDEOS: {
NAME: { min: 3, max: 120 }, // Length