'd'
This commit is contained in:
@@ -41,11 +41,15 @@ export default defineConfig(({ command }) => {
|
||||
proxy: {
|
||||
// Zero3 后端 WebSocket(如果你有 ws 接口)
|
||||
"/api/command": {
|
||||
target: "ws://live.local:8081",
|
||||
target: "ws://192.168.31.103:8081",
|
||||
// target: "ws://live.local:8081",
|
||||
|
||||
ws: true,
|
||||
},
|
||||
// Zero3 后端 HTTP
|
||||
"/api": "http://live.local:8081",
|
||||
"/api": "http://192.168.31.103:8081",
|
||||
// "/api": "http://live.local:8081",
|
||||
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user