Fix character first level being pickable twice and add mail proxy

This commit is contained in:
2025-04-22 20:57:59 +02:00
parent 598cf54bc5
commit 0771d5ebd1
6 changed files with 9 additions and 3 deletions

View File

@@ -28,16 +28,18 @@ const transport = nodemailer.createTransport({
pool: true,
host: config.mail.host,
port: config.mail.port,
secure: true,
secure: config.mail.port === "465",
auth: {
user: config.mail.user,
pass: config.mail.passwd,
},
tls: { rejectUnauthorized: config.mail.port !== "465" },
dkim: {
domainName: domain,
keySelector: selector,
privateKey: dkim,
}
},
proxy: config.mail.proxy,
});
if(process.env.NODE_ENV === 'production')