From ccc8c197986db26999f26fd851a1df5abd393e29 Mon Sep 17 00:00:00 2001 From: Idan Gazit Date: Thu, 4 Jul 2024 13:58:13 +0300 Subject: [PATCH] Checkorigin false --- src/routes/+page.svelte | 2 ++ svelte.config.js | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 6ccbfbd..aba17e4 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,6 +1,8 @@

Welcome to SvelteKit

Visit kit.svelte.dev to read the documentation

+

v1

+
diff --git a/svelte.config.js b/svelte.config.js index 04af10a..ab72ad1 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -15,9 +15,13 @@ const config = { customStaticWebAppConfig: { platform: { apiRuntime: 'node:18' - } + }, + } - }) + }), + csrf: { + checkOrigin: false + } } };