You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you're wondering why you can't get the NEXT_PUBLIC_SERVER_URL from the .env file to show up in the emails despite following the instructions in the video perfectly to copy it where told in package.json, you aren't alone.
Apparently, react-email changed things with 3.0 back in August 2024, so that path needs to be changed to ./node_modules/react-email/dist/preview for it to work as shown.
Took me way too long to find that one earlier today. 😄
The text was updated successfully, but these errors were encountered:
In case anyone comes looking for it...
If you're wondering why you can't get the
NEXT_PUBLIC_SERVER_URL
from the.env
file to show up in the emails despite following the instructions in the video perfectly to copy it where told inpackage.json
, you aren't alone.Apparently, react-email changed things with 3.0 back in August 2024, so that path needs to be changed to
./node_modules/react-email/dist/preview
for it to work as shown.Took me way too long to find that one earlier today. 😄
The text was updated successfully, but these errors were encountered: