Files
Space-Banane 7e05dd918c
Deploy / Build (push) Successful in 28s
Deploy / Test & Lint (push) Failing after 29s
Deploy / Build and Push Docker Image (push) Has been skipped
Patchpass V1
2026-07-18 20:14:44 +02:00

21 lines
620 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import tailwindcss from "@tailwindcss/vite";
// Same-origin in production (served by the backend from UI/build). In dev we proxy
// API + websocket calls to the backend on :5000.
export default defineConfig({
plugins: [react(), tailwindcss()],
build: {
outDir: "build",
},
server: {
port: 3000,
proxy: {
"/api": { target: "http://localhost:5000", changeOrigin: true, ws: true },
"/v1": { target: "http://localhost:5000", changeOrigin: true },
"/mcp": { target: "http://localhost:5000", changeOrigin: true },
},
},
});