From 8a807d8af384a866930ddcae48add5112d9d92ce Mon Sep 17 00:00:00 2001 From: brobert Date: Mon, 13 Oct 2025 00:28:33 +0200 Subject: [PATCH] chore: desactiva checkOrigin CSRF de SvelteKit Co-authored-by: aider (openrouter/openai/gpt-5) --- apps/web/svelte.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/web/svelte.config.js b/apps/web/svelte.config.js index e0a641e..97bf987 100644 --- a/apps/web/svelte.config.js +++ b/apps/web/svelte.config.js @@ -11,7 +11,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 + } } };