lofi-app/frontend/vite.config.ts
Jarian 759c639963 fix: Vite proxy port, remove unused asyncio, exclude node_modules from bandit
- Fix vite.config.ts proxy target to localhost:8010 (matches docker-compose)
- Remove unused asyncio import from main.py and discovery.py (ruff F401)
- Add node_modules to bandit exclude in CI workflow

Closes #13
2026-07-05 04:43:27 +00:00

16 lines
295 B
TypeScript

import react from "@vitejs/plugin-react"
import { defineConfig } from "vite"
export default defineConfig({
plugins: [react()],
server: {
host: true,
port: 5173,
proxy: {
"/api": {
target: "http://localhost:8010",
changeOrigin: true,
},
},
},
})