Skip to content

Build your personal knowledge base with Trilium Notes

chore(client-standalone): disable WS error notification

Elian Doran411fdf3114fd
diff --git a/apps/client/src/services/ws.ts b/apps/client/src/services/ws.ts
index 488000ba16..963e2e33be 100644
--- a/apps/client/src/services/ws.ts
+++ b/apps/client/src/services/ws.ts
@@ -304,7 +304,7 @@ async function sendPing() {
}
setTimeout(() => {
- if (glob.device === "print") return;
+ if (glob.device === "print" || glob.isStandalone) return;
ws = connectWebSocket();