moved from tauri to a server with embedded UI

This commit is contained in:
Dave
2026-02-13 12:31:36 +00:00
parent d4203cfaab
commit 0876c53e17
79 changed files with 5755 additions and 10655 deletions

20
frontend/vite.config.ts Normal file
View File

@@ -0,0 +1,20 @@
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
// https://vite.dev/config/
export default defineConfig(() => ({
plugins: [react()],
server: {
proxy: {
"/api": "http://localhost:3001",
"/ws": {
target: "ws://localhost:3001",
ws: true,
},
},
},
build: {
outDir: "dist",
emptyOutDir: true,
},
}));