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/helpers | |
parent | 6a1e67b30a77b0e24314617f794a7122dd83c570 (diff) | |
download | PeerTube-3d446a26ada901331faaaf3be9083dfe6773b50a.tar.gz PeerTube-3d446a26ada901331faaaf3be9083dfe6773b50a.tar.zst PeerTube-3d446a26ada901331faaaf3be9083dfe6773b50a.zip |
Fix tests
Diffstat (limited to 'server/helpers')
-rw-r--r-- | server/helpers/logger.js | 2 | ||||
-rw-r--r-- | server/helpers/peertubeCrypto.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/helpers/logger.js b/server/helpers/logger.js index 67f69a875..1c15a0edd 100644 --- a/server/helpers/logger.js +++ b/server/helpers/logger.js | |||
@@ -6,7 +6,7 @@ var path = require('path') | |||
6 | var winston = require('winston') | 6 | var winston = require('winston') |
7 | winston.emitErrs = true | 7 | winston.emitErrs = true |
8 | 8 | ||
9 | var logDir = path.join(__dirname, '..', config.get('storage.logs')) | 9 | var logDir = path.join(__dirname, '..', '..', config.get('storage.logs')) |
10 | var logger = new winston.Logger({ | 10 | var logger = new winston.Logger({ |
11 | transports: [ | 11 | transports: [ |
12 | new winston.transports.File({ | 12 | new winston.transports.File({ |
diff --git a/server/helpers/peertubeCrypto.js b/server/helpers/peertubeCrypto.js index 29b9d79c9..7e65c43e1 100644 --- a/server/helpers/peertubeCrypto.js +++ b/server/helpers/peertubeCrypto.js | |||
@@ -9,7 +9,7 @@ var ursa = require('ursa') | |||
9 | 9 | ||
10 | var logger = require('./logger') | 10 | var logger = require('./logger') |
11 | 11 | ||
12 | var certDir = path.join(__dirname, '..', config.get('storage.certs')) | 12 | var certDir = path.join(__dirname, '..', '..', config.get('storage.certs')) |
13 | var algorithm = 'aes-256-ctr' | 13 | var algorithm = 'aes-256-ctr' |
14 | 14 | ||
15 | var peertubeCrypto = { | 15 | var peertubeCrypto = { |