Skip to content

Commit ca5d09b

Browse files
fix: julia link
1 parent a49b420 commit ca5d09b

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/routes/projects/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
name: "Julia",
1515
summary: "Online fractal renderer",
1616
previewImage: JuliaThumbnail,
17-
url: "/projects/julia",
17+
url: "/julia",
1818
},
1919
{
2020
name: "Minecraft Remake",

svelte.config.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@ export default {
1717

1818
prerender: {
1919
handleHttpError: ({ path, referrer, message }) => {
20-
// ignore deliberate link to shiny 404 page
21-
if (path === '/projects/julia' && referrer === '/projects') {
20+
// Julia is hosted on a different repo
21+
if (path === '/julia' && referrer === '/projects') {
2222
return;
2323
}
2424

25-
// otherwise fail the build
2625
throw new Error(message);
2726
}
2827
}

0 commit comments

Comments
 (0)