From e82b581e37e9ebbb328394d4d4f923f70edf0083 Mon Sep 17 00:00:00 2001 From: qowevisa Date: Sun, 10 Nov 2024 08:27:24 +0200 Subject: [PATCH] Delete useless {credentials: "same-origin"} --- src/routes/card/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/card/+page.svelte b/src/routes/card/+page.svelte index f6c9edf..3a71d39 100644 --- a/src/routes/card/+page.svelte +++ b/src/routes/card/+page.svelte @@ -18,7 +18,7 @@ }); async function fetchCards() { - const result = await fetch("/api/card/all", { credentials: "same-origin" }); + const result = await fetch("/api/card/all"); if (!result.ok) { const obj = await result.json(); error = obj.message;