diff --git a/svelte.config.js b/svelte.config.js index f55f7e7..30ab365 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -13,15 +13,18 @@ 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({ + // default options are shown. On some platforms + // these options are set automatically — see below + pages: 'build', + assets: 'build', + fallback: undefined, + precompress: false, + strict: true, + fallback: '404.html' + }), paths: { base: process.argv.includes('dev') ? '' : process.env.BASE_PATH - }, - prerender: { - handleHttpError: ({ path, referrer, message }) => { - throw new Error(message); - }, - entries: [] } }, extensions: ['.svelte', '.md'],