diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-10-23 19:41:17 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-10-26 20:28:34 +0200 |
commit | 3737bbafb109a79f77c3047eb9b2791e6b57344e (patch) | |
tree | 60a12fceac8345fc124b3d9c045732d72395bfc3 /server/helpers | |
parent | 2c49ca42d14087ce8e1695759435f796a290470b (diff) | |
download | PeerTube-3737bbafb109a79f77c3047eb9b2791e6b57344e.tar.gz PeerTube-3737bbafb109a79f77c3047eb9b2791e6b57344e.tar.zst PeerTube-3737bbafb109a79f77c3047eb9b2791e6b57344e.zip |
Server: host -> hostname (host = hostname + port)
Diffstat (limited to 'server/helpers')
-rw-r--r-- | server/helpers/logger.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/logger.js b/server/helpers/logger.js index 590ceaeb6..fcc1789fd 100644 --- a/server/helpers/logger.js +++ b/server/helpers/logger.js | |||
@@ -8,7 +8,7 @@ winston.emitErrs = true | |||
8 | 8 | ||
9 | const constants = require('../initializers/constants') | 9 | const constants = require('../initializers/constants') |
10 | 10 | ||
11 | const label = constants.CONFIG.WEBSERVER.HOST + ':' + constants.CONFIG.WEBSERVER.PORT | 11 | const label = constants.CONFIG.WEBSERVER.HOSTNAME + ':' + constants.CONFIG.WEBSERVER.PORT |
12 | 12 | ||
13 | // Create the directory if it does not exist | 13 | // Create the directory if it does not exist |
14 | mkdirp.sync(constants.CONFIG.STORAGE.LOG_DIR) | 14 | mkdirp.sync(constants.CONFIG.STORAGE.LOG_DIR) |