deploy
This commit is contained in:
18
frontend/vite.config.js
Normal file
18
frontend/vite.config.js
Normal file
@@ -0,0 +1,18 @@
|
||||
import react from "@vitejs/plugin-react";
|
||||
import { defineConfig } from "vite";
|
||||
|
||||
const agent = process.env.A2A_DEV_AGENT_URL || "http://127.0.0.1:8000";
|
||||
|
||||
export default defineConfig({
|
||||
base: "./",
|
||||
plugins: [react()],
|
||||
server: {
|
||||
proxy: {
|
||||
"/app": agent,
|
||||
"/invoke": agent,
|
||||
"/auth": agent,
|
||||
"/mcp": agent,
|
||||
"/.well-known": agent,
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user