Skip to content

Commit 6766e87

Browse files
authored
Merge pull request #85 from CodeForBaltimore/HOTFIX-reset-domain
fix: Updating the logging and email reset domain
2 parents 50a7a07 + a1c3be1 commit 6766e87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/email/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const sendMail = async (to, subject, html, text) => {
3535
* @param {string} resetPasswordToken temporary token for the reset password link
3636
*/
3737
const sendForgotPassword = async (userEmail, resetPasswordToken) => {
38-
const emailResetLink = `https://healthcarerollcall.org/reset/${resetPasswordToken}`;
38+
const emailResetLink = `https://healthcare-rollcall.netlify.com/reset/${resetPasswordToken}`;
3939
await sendMail(
4040
userEmail,
4141
"Password Reset - Healthcare Roll Call",

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ nunjucks.configure('mail_templates', { autoescape: true });
2222

2323
// Third-party middleware
2424
app.use(requestId());
25-
app.use(morgan('tiny'));
25+
app.use(morgan('common'));
2626
app.use(cors());
2727
app.use(helmet());
2828
app.use(express.json());

0 commit comments

Comments
 (0)