feat(wsClient): Update WebSocket connection to support relative paths and enhance MQTT handling

This commit is contained in:
Tran Anh Tuan
2026-01-27 12:55:01 +07:00
parent 6d1c085ff7
commit ed5751002b
3 changed files with 17 additions and 14 deletions

View File

@@ -24,6 +24,11 @@ const proxyDev: Record<string, any> = {
target: target,
changeOrigin: true,
},
'/mqtt': {
target: target,
changeOrigin: true,
ws: true,
},
},
test: {
'/test': {