diff --git a/src/components/molecules/EmailForm.svelte b/src/components/molecules/EmailForm.svelte index 6ce88cc..5a24acd 100644 --- a/src/components/molecules/EmailForm.svelte +++ b/src/components/molecules/EmailForm.svelte @@ -29,7 +29,7 @@ formStatus = result.data if (dev) { - console.log(result.data) + console.log(result) } // If successful diff --git a/src/routes/+page.server.ts b/src/routes/+page.server.ts index 67c2b5d..a3e904a 100644 --- a/src/routes/+page.server.ts +++ b/src/routes/+page.server.ts @@ -63,7 +63,7 @@ export const load: PageServerLoad = async ({ setHeaders }) => { /** * Form Data */ - export const actions: Actions = { +export const actions: Actions = { // Form newsletter subscription subscribe, } \ No newline at end of file diff --git a/svelte.config.js b/svelte.config.js index 0c9a3f4..6bedeed 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -27,6 +27,7 @@ const config = { $utils: 'src/utils', $style: 'src/style', }, + csrf: false, } }