fix(redis): connect pubsub to desktop websocket server

This commit is contained in:
Guoyu Su authored and GitHub committed 2026-07-02 19:47:41 +08:00
1 parent af9ad39ffb
commit 074715b002
6 files changed
+25 -8

No files matched your search

@@ -65,7 +65,7 @@ async function connect() {
if (ws && ws.readyState === WebSocket.OPEN) return;
connecting.value = true;
try {
ws = api.redisPubSubConnect(props.connectionId);
ws = await api.redisPubSubConnect(props.connectionId);
ws.onopen = () => {
connected.value = true;