aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/videos.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-02-07 10:39:37 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-02-07 10:39:37 +0100
commitb3077e417056f18225957f65419b87de72117fe3 (patch)
treebe00437c83175ca09b184df6fb21ffe149e11ff8 /lib/videos.js
parentc5a8be2b6282d2042e469e1b7c1e7ce8795c026f (diff)
downloadPeerTube-b3077e417056f18225957f65419b87de72117fe3.tar.gz
PeerTube-b3077e417056f18225957f65419b87de72117fe3.tar.zst
PeerTube-b3077e417056f18225957f65419b87de72117fe3.zip
Standard v6
Diffstat (limited to 'lib/videos.js')
-rw-r--r--lib/videos.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/videos.js b/lib/videos.js
index 1bb6f2493..0e8143351 100644
--- a/lib/videos.js
+++ b/lib/videos.js
@@ -3,12 +3,13 @@
3 3
4 var async = require('async') 4 var async = require('async')
5 var config = require('config') 5 var config = require('config')
6 var path = require('path')
6 var webtorrent = require('../lib/webtorrent') 7 var webtorrent = require('../lib/webtorrent')
7 8
8 var logger = require('../helpers/logger') 9 var logger = require('../helpers/logger')
9 var Videos = require('../models/videos') 10 var Videos = require('../models/videos')
10 11
11 var uploadDir = __dirname + '/../' + config.get('storage.uploads') 12 var uploadDir = path.join(__dirname, '..', config.get('storage.uploads'))
12 13
13 var videos = { 14 var videos = {
14 seed: seed, 15 seed: seed,