Новый правки на сайте

This commit is contained in:
Web-serfer 2026-05-04 02:53:09 +05:00
parent ec1826801f
commit d3d3ad92c3
2 changed files with 6 additions and 0 deletions

View file

@ -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({