🤦 Disable crsf for now to reenable the newsletter form
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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,
|
||||||
}
|
}
|
||||||
@@ -27,6 +27,7 @@ const config = {
|
|||||||
$utils: 'src/utils',
|
$utils: 'src/utils',
|
||||||
$style: 'src/style',
|
$style: 'src/style',
|
||||||
},
|
},
|
||||||
|
csrf: false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user