Remove logging for mailserver

This commit is contained in:
Clément Pons 2025-04-22 18:03:48 +02:00
parent 9352b3f0a1
commit 598cf54bc5
1 changed files with 1 additions and 5 deletions

View File

@ -23,8 +23,6 @@ interface MailPayload
data: Record<string, any>
}
console.log(config);
const transport = nodemailer.createTransport({
//@ts-ignore
pool: true,
@ -39,9 +37,7 @@ const transport = nodemailer.createTransport({
domainName: domain,
keySelector: selector,
privateKey: dkim,
},
logger: true,
debug: true
}
});
if(process.env.NODE_ENV === 'production')