diff --git a/svelte.config.js b/svelte.config.js index 59ae0c7..0daa0ba 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -23,7 +23,11 @@ const config = { // Use different adapters based on the environment. // For GitHub Pages deployment, use svelte-adapter-ghpages. // For local development, you can use a different adapter like @sveltejs/adapter-static or any other suitable one. - adapter: process.env.NODE_ENV === 'production' ? adapterGhpages() : adapter(), + adapter: process.env.NODE_ENV === 'production' ? adapterGhpages({ + pages: 'build', + assets: 'build', + fallback: null + }) : adapter(), paths: { base: process.env.NODE_ENV === 'production' ? "/BreakOften" : "", },