refactor(app): add axios

This commit is contained in:
Sergey Krylov 2023-09-05 09:54:52 +03:00
parent f8072dd30b
commit fae3c7161c
2 changed files with 7 additions and 5 deletions

View File

@ -1,13 +1,15 @@
import process from 'process';
// @ts-ignore
import nodemailer from 'nodemailer';
const mailer = nodemailer.createTransport({
auth: {
pass: 'vytjrxwzqcnmbpja',
user: 'ksv741-test@yandex.ru',
pass: process.env.EMAIL_PASSWORD,
user: process.env.EMAIL_LOGIN,
},
host: 'smtp.yandex.ru',
port: 465,
host: process.env.EMAIL_HOST,
port: process.env.EMAIL_PORT,
secure: true,
});

View File

@ -23,7 +23,7 @@
],
"paths": {
"src/*": ["./src/*"],
"constantsasd/*": ["./src/constants/*"],
"constants/*": ["./src/constants/*"],
"api/*": ["./src/api/*"],
"routes/*": ["./src/api/routes*"]
},