Skip to content

Commit

Permalink
fix: do not fail on 404
Browse files Browse the repository at this point in the history
  • Loading branch information
maehr authored Jan 25, 2024
1 parent c52619e commit a5ee05f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ const config = {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter()
adapter: adapter(),
// do not abort on build errors
prerender: {
handleHttpError: 'warn'
}
}
};
export default config;

0 comments on commit a5ee05f

Please sign in to comment.