refactor: 根级 src/src-tauri/server 布局 + 设置左导航搜索 + 语言切换 + DataGrip 高亮 + 断连横幅移除

This commit is contained in:
logan committed 2026-10-14 20:51:59 +08:00
1 parent 456fa6954b
commit b3542cb458
32 files changed
+148 -58

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import path from "node:path";
export default defineConfig({
plugins: [react()],
resolve: {
alias: { "@opsxdb/ui": path.resolve(__dirname, "./src/index.ts"),
},
},
server: {
host: "127.0.0.1",
port: 5174,
strictPort: true,
proxy: {
"/api": {
target: "http://127.0.0.1:8788",
changeOrigin: true,
},
"/health": {
target: "http://127.0.0.1:8788",
changeOrigin: true,
},
},
},
});