diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-03-07 18:53:03 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-03-07 18:53:03 +0100 |
commit | 3d446a26ada901331faaaf3be9083dfe6773b50a (patch) | |
tree | 35262fa99301db3f22ca6e61a84ce346ed4f4bb7 /server/models | |
parent | 6a1e67b30a77b0e24314617f794a7122dd83c570 (diff) | |
download | PeerTube-3d446a26ada901331faaaf3be9083dfe6773b50a.tar.gz PeerTube-3d446a26ada901331faaaf3be9083dfe6773b50a.tar.zst PeerTube-3d446a26ada901331faaaf3be9083dfe6773b50a.zip |
Fix tests
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/videos.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/videos.js b/server/models/videos.js index 5e2eeae07..436c08bfd 100644 --- a/server/models/videos.js +++ b/server/models/videos.js | |||
@@ -12,7 +12,7 @@ var logger = require('../helpers/logger') | |||
12 | var http = config.get('webserver.https') === true ? 'https' : 'http' | 12 | var http = config.get('webserver.https') === true ? 'https' : 'http' |
13 | var host = config.get('webserver.host') | 13 | var host = config.get('webserver.host') |
14 | var port = config.get('webserver.port') | 14 | var port = config.get('webserver.port') |
15 | var uploadDir = path.join(__dirname, '..', config.get('storage.uploads')) | 15 | var uploadDir = path.join(__dirname, '..', '..', config.get('storage.uploads')) |
16 | 16 | ||
17 | // --------------------------------------------------------------------------- | 17 | // --------------------------------------------------------------------------- |
18 | 18 | ||