diff --git a/.gitignore b/.gitignore index 7fad13404..0abeca247 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,4 @@ tests/fixtures/development.json .vscode scratch/ +dist/ diff --git a/src/pages/NotFound.svelte b/src/pages/NotFound.svelte index aba10f96a..6666bc04e 100644 --- a/src/pages/NotFound.svelte +++ b/src/pages/NotFound.svelte @@ -28,7 +28,9 @@ async function load() { console.log(`Loading page content: ${endpoint}`); - const resp = await fetch(endpoint); + const resp = await fetch(endpoint, { + credentials: "include", + }); if (!resp.ok) { notFound = true;