From d16b5172ae95f2389084ba2a301088358605771f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 1 Nov 2016 19:17:25 +0100 Subject: Server: use constants to get port configuration --- server/initializers/constants.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'server/initializers') diff --git a/server/initializers/constants.js b/server/initializers/constants.js index 0efbbb916..d345776ff 100644 --- a/server/initializers/constants.js +++ b/server/initializers/constants.js @@ -31,6 +31,9 @@ const OAUTH_LIFETIME = { // --------------------------------------------------------------------------- const CONFIG = { + LISTEN: { + PORT: config.get('listen.port') + }, DATABASE: { DBNAME: 'peertube' + config.get('database.suffix'), HOSTNAME: config.get('database.hostname'), -- cgit v1.2.3