Fix local dev API wiring and theme default

This commit is contained in:
2026-04-02 01:31:23 +03:00
parent f5ae311a82
commit dc9e399e5b
8 changed files with 341 additions and 12 deletions

View File

@@ -3,6 +3,14 @@ import react from '@vitejs/plugin-react';
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/api': {
target: process.env.VITE_API_PROXY_TARGET ?? 'http://127.0.0.1:3000',
changeOrigin: true,
},
},
},
test: {
environment: 'jsdom',
setupFiles: './src/test/setup.ts',