aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/config.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts
index 5b402dd74..48e2cbc1a 100644
--- a/server/initializers/config.ts
+++ b/server/initializers/config.ts
@@ -20,7 +20,7 @@ const CONFIG = {
20 HOSTNAME: config.get<string>('listen.hostname') 20 HOSTNAME: config.get<string>('listen.hostname')
21 }, 21 },
22 DATABASE: { 22 DATABASE: {
23 DBNAME: 'peertube' + config.get<string>('database.suffix'), 23 DBNAME: config.has('database.name') ? config.get<string>('database.name') : 'peertube' + config.get<string>('database.suffix'),
24 HOSTNAME: config.get<string>('database.hostname'), 24 HOSTNAME: config.get<string>('database.hostname'),
25 PORT: config.get<number>('database.port'), 25 PORT: config.get<number>('database.port'),
26 USERNAME: config.get<string>('database.username'), 26 USERNAME: config.get<string>('database.username'),