diff options
Diffstat (limited to 'server/initializers/constants.js')
-rw-r--r-- | server/initializers/constants.js | 3 |
1 files changed, 3 insertions, 0 deletions
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 = { | |||
31 | // --------------------------------------------------------------------------- | 31 | // --------------------------------------------------------------------------- |
32 | 32 | ||
33 | const CONFIG = { | 33 | const CONFIG = { |
34 | LISTEN: { | ||
35 | PORT: config.get('listen.port') | ||
36 | }, | ||
34 | DATABASE: { | 37 | DATABASE: { |
35 | DBNAME: 'peertube' + config.get('database.suffix'), | 38 | DBNAME: 'peertube' + config.get('database.suffix'), |
36 | HOSTNAME: config.get('database.hostname'), | 39 | HOSTNAME: config.get('database.hostname'), |