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

Commit

Permalink
j
Browse files Browse the repository at this point in the history
  • Loading branch information
EmperorNumerius authored May 29, 2024
1 parent 6b8e325 commit 9382e19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ import Layout from "../layouts/Layout.astro";

const data = {
email: formData.get('email'),
name: formData.get('name'),
name: formData.get('name')
//gdpr: formData.get('gdpr'),
//hp: formData.get('hp'),
//list: formData.get('list'),
//subform: formData.get('subform')
};
body: JSON.stringify({ email: '[email protected]', name: 'Example User' }),
//body: JSON.stringify({ email: '[email protected]', name: 'Example User' }),

try {
const response = await fetch('https://purplebubblewebsite.netlify.app/api/subscribe', {
Expand Down

0 comments on commit 9382e19

Please sign in to comment.