aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/videos.js
diff options
context:
space:
mode:
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,