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/FlatPage.svelte b/src/pages/FlatPage.svelte index 5ce6af438..f4a1b15e7 100644 --- a/src/pages/FlatPage.svelte +++ b/src/pages/FlatPage.svelte @@ -49,7 +49,7 @@ function injectLinkReferences() { if (!contentElem) { - console.log("No content element"); + console.warn("No content element"); return; } diff --git a/src/pages/NotFound.svelte b/src/pages/NotFound.svelte index aba10f96a..2f8f645b7 100644 --- a/src/pages/NotFound.svelte +++ b/src/pages/NotFound.svelte @@ -27,8 +27,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;