aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers')
-rw-r--r--server/helpers/logger.js2
-rw-r--r--server/helpers/peertubeCrypto.js2
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')
6var winston = require('winston') 6var winston = require('winston')
7winston.emitErrs = true 7winston.emitErrs = true
8 8
9var logDir = path.join(__dirname, '..', config.get('storage.logs')) 9var logDir = path.join(__dirname, '..', '..', config.get('storage.logs'))
10var logger = new winston.Logger({ 10var 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
10var logger = require('./logger') 10var logger = require('./logger')
11 11
12var certDir = path.join(__dirname, '..', config.get('storage.certs')) 12var certDir = path.join(__dirname, '..', '..', config.get('storage.certs'))
13var algorithm = 'aes-256-ctr' 13var algorithm = 'aes-256-ctr'
14 14
15var peertubeCrypto = { 15var peertubeCrypto = {