Pls
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
SMTP_HOST=
|
||||
SMTP_PORT=587
|
||||
SMTP_SECURE=true
|
||||
SMTP_USER=
|
||||
SMTP_PASS=
|
||||
FROM_EMAIL=
|
||||
|
||||
@@ -6,7 +6,7 @@ export const prerender = false;
|
||||
const transporter = nodemailer.createTransport({
|
||||
host: import.meta.env.SMTP_HOST,
|
||||
port: parseInt(import.meta.env.SMTP_PORT),
|
||||
secure: import.meta.env.SMTP_PORT === "465",
|
||||
secure: import.meta.env.SMTP_SECURE,
|
||||
auth: {
|
||||
user: import.meta.env.SMTP_USER,
|
||||
pass: import.meta.env.SMTP_PASS,
|
||||
|
||||
Reference in New Issue
Block a user