concept-collection / benchcompress
Use a relative base so the build works at any mount point
owner <owner@noreply.vault1.fly.dev> committed commit 272efad0e36e parent 3bb8dd5 Browse files
1 changed file+2−1
web-ui/vite.config.tsmodified+2−1View file
@@ -4,7 +4,8 @@ import react from '@vitejs/plugin-react'
44 // https://vite.dev/config/
55 export default defineConfig({
66 plugins: [react()],
7- base: '/benchcompress/', // Base URL for GitHub Pages deployment
7+ // Relative base, so the build works wherever it is mounted
8+ base: './',
89 define: {
910 __BUILD_DATE__: JSON.stringify(new Date().toLocaleDateString())
1011 }