mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Server: use constants to get port configuration
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user