Skip to content

Commit

Permalink
fix: do not fail on 404 (Stadt-Geschichte-Basel#62)
Browse files Browse the repository at this point in the history
* fix: do not fail on 404

* fix: add handleMissingId
  • Loading branch information
maehr authored Jan 26, 2024
1 parent c52619e commit d983bc6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ 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',
handleMissingId: 'warn'
}
}
};
export default config;

0 comments on commit d983bc6

Please sign in to comment.