Closed floresjmjr closed 2 years ago
After speaking with Austin, I realized that the env variable I used (APP_URL) that has a value of 'localhost:3000' in the dev stage actually a different value in production (it has the heroku domain). That means no code changes need to be made. However when testing the issue, which at the moment can only be done within the dev stage, the env variable needs to be change to the heroku domain.
…ting using the heroku app instead of the local app
Zenhub Link:
https://app.zenhub.com/workspaces/ksf-5f23520d91f7ee00134cbaf6/issues/the-difference-engine/ksf/173
Describe the problem being solved:
The verification link only works if the local app is running as the link uses the local domain (localhost:3000) instead of the heroku app domain. Made the change using an existing env variable.
Impacted areas in the application:
It impacts the verification email that is clicked on by the Health provider.
Describe the steps you took to test your changes:
Created the nomination using the local api test file. After receiving the email, I clicked on the link and made sure it was using the right domain.
If this ticket involves any UI or email changes, please provide a screenshot that shows the updated UI
N/A List general components of the application that this PR will affect: api/helper/mailer.js
PR checklist