You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.5 KiB
26 lines
1.5 KiB
diff --git a/dist/server/initializers/checker-before-init.js b/dist/server/initializers/checker-before-init.js
|
|
index 7ff18d0..c75dff2 100644
|
|
--- a/dist/server/initializers/checker-before-init.js
|
|
+++ b/dist/server/initializers/checker-before-init.js
|
|
@@ -15,7 +15,7 @@ function checkMissedConfig() {
|
|
const required = ['listen.port', 'listen.hostname',
|
|
'webserver.https', 'webserver.hostname', 'webserver.port',
|
|
'trust_proxy',
|
|
- 'database.hostname', 'database.port', 'database.suffix', 'database.username', 'database.password', 'database.pool.max',
|
|
+ 'database.hostname', 'database.port', 'database.dbname', 'database.username', 'database.password', 'database.pool.max',
|
|
'smtp.hostname', 'smtp.port', 'smtp.username', 'smtp.password', 'smtp.tls', 'smtp.from_address',
|
|
'storage.avatars', 'storage.videos', 'storage.logs', 'storage.previews', 'storage.thumbnails', 'storage.torrents', 'storage.cache',
|
|
'log.level',
|
|
diff --git a/dist/server/initializers/constants.js b/dist/server/initializers/constants.js
|
|
index d5a3350..7efaabd 100644
|
|
--- a/dist/server/initializers/constants.js
|
|
+++ b/dist/server/initializers/constants.js
|
|
@@ -143,7 +143,7 @@ const CONFIG = {
|
|
HOSTNAME: config.get('listen.hostname')
|
|
},
|
|
DATABASE: {
|
|
- DBNAME: 'peertube' + config.get('database.suffix'),
|
|
+ DBNAME: config.get('database.dbname'),
|
|
HOSTNAME: config.get('database.hostname'),
|
|
PORT: config.get('database.port'),
|
|
USERNAME: config.get('database.username'),
|