removed console.log
This commit is contained in:
@@ -14,14 +14,6 @@ const initTransporter = () => {
|
||||
if (!process.env.MAIL_USER) return console.error("MAIL_USER is not defined");
|
||||
if (!process.env.MAIL_PASSWORD) return console.error("MAIL_PASSWORD is not defined");
|
||||
|
||||
console.log("Initializing mail transporter...", {
|
||||
host: process.env.MAIL_SERVER,
|
||||
port: process.env.MAIL_PORT,
|
||||
user: process.env.MAIL_USER,
|
||||
password: process.env.MAIL_PASSWORD,
|
||||
secure: process.env.MAIL_SECURE === "true",
|
||||
});
|
||||
|
||||
transporter = nodemailer.createTransport({
|
||||
host: process.env.MAIL_SERVER,
|
||||
port: parseInt(process.env.MAIL_PORT),
|
||||
|
||||
Reference in New Issue
Block a user