aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorIsmaƫl Bouya <ismael.bouya@normalesup.org>2019-02-13 12:16:27 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-04-10 10:20:06 +0200
commited3f089cc78a2153b6fc194e2b9be762b8a939e9 (patch)
tree35380c68c14950659712f35fb0178929d4dc4e2c /server/initializers
parent4d9ae8f7cfce66ba0568a25c28034a2cad120444 (diff)
downloadPeerTube-ed3f089cc78a2153b6fc194e2b9be762b8a939e9.tar.gz
PeerTube-ed3f089cc78a2153b6fc194e2b9be762b8a939e9.tar.zst
PeerTube-ed3f089cc78a2153b6fc194e2b9be762b8a939e9.zip
Add sendmail
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/config.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts
index 2c4d26a9e..6932b41e1 100644
--- a/server/initializers/config.ts
+++ b/server/initializers/config.ts
@@ -36,6 +36,8 @@ const CONFIG = {
36 DB: config.has('redis.db') ? config.get<number>('redis.db') : null 36 DB: config.has('redis.db') ? config.get<number>('redis.db') : null
37 }, 37 },
38 SMTP: { 38 SMTP: {
39 TRANSPORT: config.has('smtp.transport') ? config.get<string>('smtp.transport') : 'smtp',
40 SENDMAIL: config.has('smtp.sendmail') ? config.get<string>('smtp.sendmail') : null,
39 HOSTNAME: config.get<string>('smtp.hostname'), 41 HOSTNAME: config.get<string>('smtp.hostname'),
40 PORT: config.get<number>('smtp.port'), 42 PORT: config.get<number>('smtp.port'),
41 USERNAME: config.get<string>('smtp.username'), 43 USERNAME: config.get<string>('smtp.username'),