From 1b2b99a273315316ef3a96a837d4a1cf7aad4979 Mon Sep 17 00:00:00 2001 From: Ethan Davidson <31261035+EthanThatOneKid@users.noreply.github.com> Date: Sun, 27 Oct 2024 07:03:48 -0700 Subject: [PATCH] remove base path --- svelte.config.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/svelte.config.js b/svelte.config.js index 56a0054..7d06e45 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -12,12 +12,7 @@ const config = { // If your environment is not supported, or you settled on a specific environment, switch out the adapter. // See https://svelte.dev/docs/kit/adapters for more information about adapters. // https://svelte.dev/docs/kit/adapter-static#GitHub-Pages - adapter: adapter({ - fallback: '404.html' - }), - paths: { - base: process.argv.includes('dev') ? '' : process.env.BASE_PATH - } + adapter: adapter({ fallback: '404.html' }) } };