Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #46 from huskynz/dev
Browse files Browse the repository at this point in the history
FIXING THE CONTACT FORM?
  • Loading branch information
Husky-Devel authored Jan 1, 2024
2 parents b54b18d + 395c644 commit 770a319
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion components/contact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ const ContactForm = () => {
try {
const response = await fetch('https://emailapi.hunz.workers.dev', {
method: 'POST',
body: JSON.stringify(formData),
body: JSON.stringify({
SENDER_EMAIL: formData.senderEmail,
RECIPIENT_EMAIL: '[email protected]', // Replace with your recipient email address
// Add other form data as needed for SES
MESSAGE: formData.message // Assuming you want to include the message in SES
}),
headers: {
'Content-Type': 'application/json'
}
Expand Down

0 comments on commit 770a319

Please sign in to comment.