support hosting in subdirectory

This commit is contained in:
Inhji 2022-10-17 22:13:59 +02:00
parent 4c55b8395d
commit d27a1eb76f
1 changed files with 3 additions and 1 deletions

View File

@ -3,5 +3,7 @@ import { svelte } from '@sveltejs/vite-plugin-svelte'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [svelte()]
plugins: [svelte()],
// support hosting the app in a subdirectory
base: ""
})