chore: sync local changes (2026-03-12)
This commit is contained in:
@@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user