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;