feat: expand vehicle data platform capabilities

This commit is contained in:
lingniu
2026-07-27 16:46:15 +08:00
parent e3a1f80f86
commit 3c4bece72c
650 changed files with 62155 additions and 2552 deletions

View File

@@ -0,0 +1,20 @@
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"
}
}
});