We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92c0a21 commit 73938cbCopy full SHA for 73938cb
svelte.config.js
@@ -14,6 +14,11 @@ const config = {
14
publicPrefix: 'RV'
15
},
16
prerender: {
17
+ // in src/routes/+page.svelte and src/lib/components/organisms/Footer.svelte
18
+ // websiteUrl is dynamically fetched from the API
19
+ // when the site is built with adapter-static, the crawler tries to access
20
+ // null/patches, null/download, etc... and so it'll fail
21
+ // since it's not able to fetch external data
22
handleHttpError: ({ status, message }) => {
23
if (status === 404) return;
24
throw new Error(message);
0 commit comments