diff options
author | Ismaƫl Bouya <ismael.bouya@normalesup.org> | 2019-02-13 12:16:27 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-04-10 10:20:06 +0200 |
commit | ed3f089cc78a2153b6fc194e2b9be762b8a939e9 (patch) | |
tree | 35380c68c14950659712f35fb0178929d4dc4e2c /server/initializers/config.ts | |
parent | 4d9ae8f7cfce66ba0568a25c28034a2cad120444 (diff) | |
download | PeerTube-ed3f089cc78a2153b6fc194e2b9be762b8a939e9.tar.gz PeerTube-ed3f089cc78a2153b6fc194e2b9be762b8a939e9.tar.zst PeerTube-ed3f089cc78a2153b6fc194e2b9be762b8a939e9.zip |
Add sendmail
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r-- | server/initializers/config.ts | 2 |
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'), |