fix: harden frontend state and tooling

This commit is contained in:
zhoujun0601
2026-08-13 12:04:23 -04:00
parent 833908ac9c
commit a027edda88
19 changed files with 1773 additions and 392 deletions
+10 -5
View File
@@ -1,8 +1,13 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
build: { outDir: '../backend/internal/web/dist', emptyOutDir: true },
server: { proxy: { '/api': 'http://localhost:8080', '/health': 'http://localhost:8080' } },
})
build: { outDir: "../backend/internal/web/dist", emptyOutDir: true },
server: {
proxy: {
"/api": "http://localhost:8080",
"/health": "http://localhost:8080",
},
},
});