From f17840e16b51339278d211357c0db2e2dd88aee4 Mon Sep 17 00:00:00 2001 From: aleks Date: Thu, 22 Jan 2026 20:57:00 +0000 Subject: [PATCH] ignore --- .gitignore | 4 ++++ app/api/contact/route.ts | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e8f08e7..f7107cb 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,7 @@ node_modules .next .git .env.local +.env.production +.docker_compose.yaml +.Dockerfile +.dockerignore \ No newline at end of file diff --git a/app/api/contact/route.ts b/app/api/contact/route.ts index 14759b0..1c38fbb 100755 --- a/app/api/contact/route.ts +++ b/app/api/contact/route.ts @@ -54,7 +54,6 @@ export async function POST(req: Request) { ); } - // ✅ 2. ONLY NOW send emails const transporter = nodemailer.createTransport({ host: process.env.SMTP_HOST!, port: Number(process.env.SMTP_PORT), @@ -65,7 +64,6 @@ export async function POST(req: Request) { }, }); - // Admin email await transporter.sendMail({ from: `"Contact Form" <${process.env.SMTP_USER!}>`, to: process.env.CONTACT_EMAIL!, @@ -78,7 +76,6 @@ export async function POST(req: Request) { `, }); - // Confirmation email await transporter.sendMail({ from: `"4l3ks.com" <${process.env.SMTP_USER!}>`, to: email,