aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/checker.ts2
-rw-r--r--server/initializers/constants.ts3
2 files changed, 3 insertions, 2 deletions
diff --git a/server/initializers/checker.ts b/server/initializers/checker.ts
index c11dc7a89..5a9c603b5 100644
--- a/server/initializers/checker.ts
+++ b/server/initializers/checker.ts
@@ -22,7 +22,7 @@ function checkMissedConfig () {
22 'webserver.https', 'webserver.hostname', 'webserver.port', 22 'webserver.https', 'webserver.hostname', 'webserver.port',
23 'trust_proxy', 23 'trust_proxy',
24 'database.hostname', 'database.port', 'database.suffix', 'database.username', 'database.password', 24 'database.hostname', 'database.port', 'database.suffix', 'database.username', 'database.password',
25 'redis.hostname', 'redis.port', 'redis.auth', 25 'redis.hostname', 'redis.port', 'redis.auth', 'redis.db',
26 'smtp.hostname', 'smtp.port', 'smtp.username', 'smtp.password', 'smtp.tls', 'smtp.from_address', 26 'smtp.hostname', 'smtp.port', 'smtp.username', 'smtp.password', 'smtp.tls', 'smtp.from_address',
27 'storage.avatars', 'storage.videos', 'storage.logs', 'storage.previews', 'storage.thumbnails', 'storage.torrents', 'storage.cache', 27 'storage.avatars', 'storage.videos', 'storage.logs', 'storage.previews', 'storage.thumbnails', 'storage.torrents', 'storage.cache',
28 'log.level', 28 'log.level',
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 51d272895..424947590 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -111,7 +111,8 @@ const CONFIG = {
111 REDIS: { 111 REDIS: {
112 HOSTNAME: config.get<string>('redis.hostname'), 112 HOSTNAME: config.get<string>('redis.hostname'),
113 PORT: config.get<number>('redis.port'), 113 PORT: config.get<number>('redis.port'),
114 AUTH: config.get<string>('redis.auth') 114 AUTH: config.get<string>('redis.auth'),
115 DB: config.get<number>('redis.db')
115 }, 116 },
116 SMTP: { 117 SMTP: {
117 HOSTNAME: config.get<string>('smtp.hostname'), 118 HOSTNAME: config.get<string>('smtp.hostname'),