mind-map/apps/web/vite.config.ts
oliver 2ecd300ada Initial commit: DSH mind-map canvas monorepo
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 08:53:37 +08:00

14 lines
331 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
server: {
port: 5173,
proxy: {
"/api": "http://127.0.0.1:17890",
"/health": "http://127.0.0.1:17890",
"/ws": { target: "ws://127.0.0.1:17890", ws: true },
},
},
});