From f6175eada86c2c894b47dced8474187c188e4896 Mon Sep 17 00:00:00 2001 From: Juliet Date: Sun, 12 Oct 2025 07:41:53 +0200 Subject: [PATCH] de morgan moment --- src/views/stream.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/stream.tsx b/src/views/stream.tsx index 55dfd7d..2b53f6d 100644 --- a/src/views/stream.tsx +++ b/src/views/stream.tsx @@ -38,7 +38,7 @@ const StreamView = () => { } else { url = formData.get("instance")?.toString() ?? "wss://bsky.network"; url = url.replace("/xrpc/com.atproto.sync.subscribeRepos", ""); - if (!url.startsWith("wss://") && !url.startsWith("ws://")) url = "wss://" + url; + if (!(url.startsWith("wss://") || url.startsWith("ws://"))) url = "wss://" + url; } const collections = formData.get("collections")?.toString().split(","); -- 2.51.2