From e79b57e2ac799c90c8811a4669a83bae72ebb32c Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Tue, 23 Apr 2024 17:40:41 +0200 Subject: [PATCH] Fix more bugs (x2) --- svelte.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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" : "", },