mirror of
https://github.com/Ravinou/borgwarehouse
synced 2024-06-17 05:06:53 +02:00
feat: add TLS support in env
This commit is contained in:
parent
c56ecf1d49
commit
35c8a10197
|
@ -20,7 +20,7 @@ export default async function handler(req, res) {
|
||||||
user: process.env.MAIL_SMTP_LOGIN,
|
user: process.env.MAIL_SMTP_LOGIN,
|
||||||
pass: process.env.MAIL_SMTP_PWD,
|
pass: process.env.MAIL_SMTP_PWD,
|
||||||
},
|
},
|
||||||
secure: true,
|
secure: process.env.MAIL_SMTP_SECURE,
|
||||||
});
|
});
|
||||||
//Mail options
|
//Mail options
|
||||||
const mailData = {
|
const mailData = {
|
||||||
|
|
Loading…
Reference in a new issue