From a1c3be1d621e11e948ebe3f3daeb1cbf1ed7912b Mon Sep 17 00:00:00 2001 From: Jason Anton Date: Mon, 30 Mar 2020 11:08:35 -0400 Subject: [PATCH] fix: Updating the logging and email reset domain Our domain for testing is not what was set. This will fix that and add more Verbose logging. --- src/email/index.js | 2 +- src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/email/index.js b/src/email/index.js index 05cb8e0f..569b323b 100644 --- a/src/email/index.js +++ b/src/email/index.js @@ -35,7 +35,7 @@ const sendMail = async (to, subject, html, text) => { * @param {string} resetPasswordToken temporary token for the reset password link */ const sendForgotPassword = async (userEmail, resetPasswordToken) => { - const emailResetLink = `https://healthcarerollcall.org/reset/${resetPasswordToken}`; + const emailResetLink = `https://healthcare-rollcall.netlify.com/reset/${resetPasswordToken}`; await sendMail( userEmail, "Password Reset - Healthcare Roll Call", diff --git a/src/index.js b/src/index.js index 8f851af8..3a0ec53d 100644 --- a/src/index.js +++ b/src/index.js @@ -22,7 +22,7 @@ nunjucks.configure('mail_templates', { autoescape: true }); // Third-party middleware app.use(requestId()); -app.use(morgan('tiny')); +app.use(morgan('common')); app.use(cors()); app.use(helmet()); app.use(express.json());