Skip to content

Commit

Permalink
Merge branch 'master' of github.com:MuckRock/documentcloud-frontend i…
Browse files Browse the repository at this point in the history
…nto vite-alt-routing
  • Loading branch information
eyeseast committed Dec 6, 2023
2 parents 7ae1167 + 698e334 commit bfa73fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ tests/fixtures/development.json
.vscode

scratch/
dist/
2 changes: 1 addition & 1 deletion src/pages/FlatPage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
function injectLinkReferences() {
if (!contentElem) {
console.log("No content element");
console.warn("No content element");
return;
}
Expand Down
5 changes: 3 additions & 2 deletions src/pages/NotFound.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bfa73fe

Please sign in to comment.