Disable csrf checkOrigin to fix newsletter form submission
This commit is contained in:
@@ -17,6 +17,9 @@ const config = {
|
|||||||
}),
|
}),
|
||||||
|
|
||||||
kit: {
|
kit: {
|
||||||
|
csrf: {
|
||||||
|
checkOrigin: false
|
||||||
|
},
|
||||||
adapter: adapter({
|
adapter: adapter({
|
||||||
edge: true
|
edge: true
|
||||||
}),
|
}),
|
||||||
@@ -27,7 +30,6 @@ const config = {
|
|||||||
$utils: 'src/utils',
|
$utils: 'src/utils',
|
||||||
$style: 'src/style',
|
$style: 'src/style',
|
||||||
},
|
},
|
||||||
csrf: false,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user