Skip to content

Commit 6247b5b

Browse files
committed
Deploy fix svelte config
1 parent 37b946d commit 6247b5b

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

packages/components/svelte.config.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,16 @@ const config = {
1616
fallback: undefined,
1717
precompress: false,
1818
strict: true
19-
})
19+
}),
20+
paths: {
21+
base: '/viewer'
22+
},
23+
prerender: {
24+
handleHttpError: ({ path, message }) => {
25+
if (path === '/favicon.png') return
26+
throw new Error(message)
27+
}
28+
}
2029
}
2130
}
2231

0 commit comments

Comments
 (0)