diff --git a/src/lib/components/Navigation.svelte b/src/lib/components/Navigation.svelte index 881189bc..4e2c7403 100644 --- a/src/lib/components/Navigation.svelte +++ b/src/lib/components/Navigation.svelte @@ -1,18 +1,19 @@ diff --git a/svelte.config.js b/svelte.config.js index 49944fab..72450556 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,10 +1,15 @@ import adapter from "@sveltejs/adapter-static" import preprocess from "svelte-preprocess" +const dev = process.argv.includes("dev") + /** @type {import('@sveltejs/kit').Config} */ const config = { preprocess: [preprocess()], kit: { + paths: { + base: dev ? "" : "/dotio", + }, adapter: adapter(), }, }