Skip to content

Commit 8ad4227

Browse files
committed
Disable CSRF protection for now
See sveltejs/kit#6510
1 parent 250302b commit 8ad4227

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

svelte.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ const config = {
88
preprocess: preprocess(),
99

1010
kit: {
11-
adapter: adapter()
11+
adapter: adapter(),
12+
csrf: {
13+
checkOrigin: false
14+
}
1215
}
1316
};
1417

0 commit comments

Comments
 (0)