diff --git a/src/views/stream.tsx b/src/views/stream.tsx index 1131210..55dfd7d 100644 --- a/src/views/stream.tsx +++ b/src/views/stream.tsx @@ -37,6 +37,8 @@ const StreamView = () => { url = url.concat("?"); } 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; } const collections = formData.get("collections")?.toString().split(",");