Новый правки на сайте
This commit is contained in:
parent
ec1826801f
commit
d3d3ad92c3
2 changed files with 6 additions and 0 deletions
|
|
@ -22,6 +22,9 @@ const SITE_URL = isProduction
|
|||
|
||||
let transporter: nodemailer.Transporter | null = null;
|
||||
|
||||
console.log('[EMAIL] isDev:', isDev, 'isProduction:', isProduction);
|
||||
console.log('[EMAIL] SMTP config:', { host: SMTP_HOST, port: SMTP_PORT, auth: !!SMTP_AUTH_USER });
|
||||
|
||||
function getTransporter() {
|
||||
if (!transporter) {
|
||||
transporter = nodemailer.createTransport({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue