chore: sync local changes (2026-03-12)

This commit is contained in:
2026-03-12 18:56:35 +08:00
parent f27996dde0
commit ec28b7bceb
5 changed files with 410 additions and 192 deletions

View File

@@ -6,5 +6,14 @@ export default defineConfig({
server: {
host: true,
port: 5173,
proxy: {
// HTTP API/api/... → http://localhost:8080/api/...
"/api": {
target: "http://localhost:8080",
changeOrigin: true,
// WebSocket 升级ws:// / wss://
ws: true,
},
},
},
});