chore(frontend): vite dev proxy for /api and /wh

This commit is contained in:
Claude
2026-08-28 16:27:43 +00:00
parent 655bd17f55
commit 64cf7fbed9

View File

@@ -8,6 +8,13 @@ export default defineConfig({
resolve: {
alias: { "@": path.resolve(__dirname, "src") },
},
server: {
port: 5173,
proxy: {
"/api": { target: "http://127.0.0.1:5099", changeOrigin: false },
"/wh": { target: "http://127.0.0.1:5099", changeOrigin: false },
},
},
build: {
outDir: path.resolve(__dirname, "../src/VolcanicCore.Api/wwwroot"),
emptyOutDir: true,