forked from 0k/0k-charms
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 d8422ee..5eb3678 100644
|
|
--- a/dist/server/initializers/checker-before-init.js
|
|
+++ b/dist/server/initializers/checker-before-init.js
|
|
@@ -16,7 +16,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',
|
|
'email.body.signature', 'email.subject.prefix',
|
|
'storage.avatars', 'storage.videos', 'storage.logs', 'storage.previews', 'storage.thumbnails', 'storage.torrents', 'storage.cache',
|
|
diff --git a/dist/server/initializers/config.js b/dist/server/initializers/config.js
|
|
index 6aa916f..89d16fe 100644
|
|
--- a/dist/server/initializers/config.js
|
|
+++ b/dist/server/initializers/config.js
|
|
@@ -12,7 +12,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'),
|