- 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
16 lines
295 B
TypeScript
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,
|
|
},
|
|
},
|
|
},
|
|
}) |