diff --git a/svelte.config.js b/svelte.config.js index 8ab3fe4..03c17f2 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -6,18 +6,7 @@ const config = { // Consult https://svelte.dev/docs/kit/integrations // for more information about preprocessors preprocess: vitePreprocess(), - kit: { - adapter: adapter(), - prerender: { - handleHttpError: ({ status, path }) => { - if (status === 404) { - console.warn(`Skipping prerender of ${path} (expected 404)`); - return; - } - throw new Error(`${status} ${path}`); - } - } - } + kit: { adapter: adapter() } }; export default config;