diff --git a/package.json b/package.json index 3a5319d..411b95e 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "vite dev", - "build": "vite build", + "build": "vite build --base=/SecretRabbitMeetingBeTheChange/", "preview": "vite preview", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", diff --git a/svelte.config.js b/svelte.config.js index ef4f770..b55861b 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -12,7 +12,10 @@ const config = { precompress: false, fallback: 'index.html', strict: false - }) + }), + paths: { + base: "/SecretRabbitMeetingBeTheChange" + }, }, preprocess: [ preprocess({ diff --git a/vite.config.ts b/vite.config.ts index 65a4313..a247dbd 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -3,6 +3,7 @@ import type { UserConfig } from 'vite'; const config: UserConfig = { plugins: [sveltekit()], + base: '/SecretRabbitMeetingBeTheChange/', server: { fs: { allow: [