🤦 Disable crsf for now to reenable the newsletter form

This commit is contained in:
2022-12-23 19:50:57 +01:00
parent f396864feb
commit 9a7ad40401
3 changed files with 3 additions and 2 deletions

View File

@@ -29,7 +29,7 @@
formStatus = result.data formStatus = result.data
if (dev) { if (dev) {
console.log(result.data) console.log(result)
} }
// If successful // If successful

View File

@@ -63,7 +63,7 @@ export const load: PageServerLoad = async ({ setHeaders }) => {
/** /**
* Form Data * Form Data
*/ */
export const actions: Actions = { export const actions: Actions = {
// Form newsletter subscription // Form newsletter subscription
subscribe, subscribe,
} }

View File

@@ -27,6 +27,7 @@ const config = {
$utils: 'src/utils', $utils: 'src/utils',
$style: 'src/style', $style: 'src/style',
}, },
csrf: false,
} }
} }