mirror of
https://github.com/hansjone/mind-map.git
synced 2026-10-08 23:33:24 +08:00
14 lines
331 B
TypeScript
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 },
|
|
},
|
|
},
|
|
});
|