mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Server: use constants to get port configuration
This commit is contained in:
parent
b1233aa856
commit
d16b5172ae
2 changed files with 4 additions and 3 deletions
|
@ -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'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue