Disable check origin for development

This commit is contained in:
Leon Grünewald 2025-02-11 00:59:18 +01:00
parent b829f77073
commit 9d2eada5a7
5 changed files with 4 additions and 1 deletions

View file

View file

View file

View file

@ -6,7 +6,10 @@ const config = {
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
adapter: adapter()
adapter: adapter(),
csrf: {
checkOrigin: false
}
}
};