Remove logging for mailserver
This commit is contained in:
parent
9352b3f0a1
commit
598cf54bc5
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in New Issue