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:
parent
788487140c
commit
ce33919c24
23 changed files with 648 additions and 142 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue