chore: commit mileage updates and accumulated project artifacts

This commit is contained in:
lingniu
2026-09-21 09:15:54 +08:00
parent 6cc872ceb6
commit 8b32ae2988
767 changed files with 572885 additions and 17 deletions
@@ -0,0 +1,24 @@
import { defineConfig, searchForWorkspaceRoot } from "vite";
import react from "@vitejs/plugin-react";
import { fileURLToPath } from "node:url";
export default defineConfig({
plugins: [react()],
server: {
fs: {
allow: [
searchForWorkspaceRoot(process.cwd()),
fileURLToPath(new URL("../web/public", import.meta.url))
]
},
proxy: {
"/portal-api": "http://127.0.0.1:20310",
"/api/v1": "http://127.0.0.1:20310",
"/open-api": "http://127.0.0.1:20310"
}
},
test: {
environment: "jsdom",
globals: true,
setupFiles: "./src/test/setup.ts"
}
});