Use a relative base so the build works at any mount point
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: '/ephys_compression_tests/', // 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 }