fix: add /v1 proxy entry to vite dev server config

Without this, /v1/chat/completions requests in local dev are served by
Vite instead of being proxied to the FastAPI backend.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Roland Tannous 2026-03-07 04:09:28 +00:00
commit f45f1f74c0

View file

@ -17,6 +17,10 @@ export default defineConfig({
target: "http://127.0.0.1:8000",
changeOrigin: true,
},
"/v1": {
target: "http://127.0.0.1:8000",
changeOrigin: true,
},
"/seed/inspect": {
target: "http://127.0.0.1:8004",
changeOrigin: true,