fix(web): proxy the dev API to 127.0.0.1 (uvicorn listens on IPv4 only)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-04 08:18:26 +03:00
co-authored by Claude Opus 5.5
parent b4b1bc51c8
commit f233c1e5ca
+1 -1
View File
@@ -8,6 +8,6 @@ export default defineConfig({
base: "./", base: "./",
server: { server: {
port: 5173, port: 5173,
proxy: { "/api": { target: process.env.API_TARGET ?? "http://localhost:8000", changeOrigin: true } }, proxy: { "/api": { target: process.env.API_TARGET ?? "http://127.0.0.1:8000", changeOrigin: true } },
}, },
}); });