refactor(app): add axios
This commit is contained in:
parent
f8072dd30b
commit
fae3c7161c
@ -1,13 +1,15 @@
|
|||||||
|
import process from 'process';
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import nodemailer from 'nodemailer';
|
import nodemailer from 'nodemailer';
|
||||||
|
|
||||||
const mailer = nodemailer.createTransport({
|
const mailer = nodemailer.createTransport({
|
||||||
auth: {
|
auth: {
|
||||||
pass: 'vytjrxwzqcnmbpja',
|
pass: process.env.EMAIL_PASSWORD,
|
||||||
user: 'ksv741-test@yandex.ru',
|
user: process.env.EMAIL_LOGIN,
|
||||||
},
|
},
|
||||||
host: 'smtp.yandex.ru',
|
host: process.env.EMAIL_HOST,
|
||||||
port: 465,
|
port: process.env.EMAIL_PORT,
|
||||||
secure: true,
|
secure: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
],
|
],
|
||||||
"paths": {
|
"paths": {
|
||||||
"src/*": ["./src/*"],
|
"src/*": ["./src/*"],
|
||||||
"constantsasd/*": ["./src/constants/*"],
|
"constants/*": ["./src/constants/*"],
|
||||||
"api/*": ["./src/api/*"],
|
"api/*": ["./src/api/*"],
|
||||||
"routes/*": ["./src/api/routes*"]
|
"routes/*": ["./src/api/routes*"]
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user