Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(api): 🐛 fix the 500 error thrown by Resend #42

Merged
merged 3 commits into from
Aug 13, 2024

Conversation

brklntmhwk
Copy link
Owner

Changes

  • add the Resend API key to the env setting in Cloudflare Pages
  • tweak error messages in the form API
  • add SITE_DOMAIN to const.ts

Checklist

  • Whether the contact form works with no error

Notes

  • It worked properly in dev and preview mode

add the Resend API key to the env setting of Cloudflare Pages and format
the error messages

✅ Closes: #41
@brklntmhwk brklntmhwk linked an issue Aug 13, 2024 that may be closed by this pull request
@brklntmhwk brklntmhwk merged commit 3079b51 into main Aug 13, 2024
6 checks passed
@brklntmhwk brklntmhwk deleted the 41-fix-the-500-error-thrown-by-resend branch August 13, 2024 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix the 500 error thrown by Resend
1 participant