Remove logging for mailserver
This commit is contained in:
parent
9352b3f0a1
commit
598cf54bc5
|
|
@ -23,8 +23,6 @@ interface MailPayload
|
||||||
data: Record<string, any>
|
data: Record<string, any>
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(config);
|
|
||||||
|
|
||||||
const transport = nodemailer.createTransport({
|
const transport = nodemailer.createTransport({
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
pool: true,
|
pool: true,
|
||||||
|
|
@ -39,9 +37,7 @@ const transport = nodemailer.createTransport({
|
||||||
domainName: domain,
|
domainName: domain,
|
||||||
keySelector: selector,
|
keySelector: selector,
|
||||||
privateKey: dkim,
|
privateKey: dkim,
|
||||||
},
|
}
|
||||||
logger: true,
|
|
||||||
debug: true
|
|
||||||
});
|
});
|
||||||
|
|
||||||
if(process.env.NODE_ENV === 'production')
|
if(process.env.NODE_ENV === 'production')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue