refactor(app): add axios
This commit is contained in:
parent
f8072dd30b
commit
fae3c7161c
@ -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,
|
||||
});
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
],
|
||||
"paths": {
|
||||
"src/*": ["./src/*"],
|
||||
"constantsasd/*": ["./src/constants/*"],
|
||||
"constants/*": ["./src/constants/*"],
|
||||
"api/*": ["./src/api/*"],
|
||||
"routes/*": ["./src/api/routes*"]
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user