mirror of
https://github.com/shadoll/vancouver.git
synced 2026-08-28 03:28:21 +00:00
fix: set base path to root for consistent deployment across environments
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ import { svelte } from '@sveltejs/vite-plugin-svelte'
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [svelte()],
|
||||
base: process.env.NODE_ENV === 'production' ? '/vancouver/' : '/',
|
||||
base: '/',
|
||||
build: {
|
||||
outDir: 'dist',
|
||||
assetsDir: 'assets',
|
||||
|
||||
Reference in New Issue
Block a user