From c06ee364d289a048e2a3d0da2aabf99e37933514 Mon Sep 17 00:00:00 2001 From: Juliet Date: Sun, 12 Oct 2025 03:40:07 +0200 Subject: [PATCH] allow firehose url with xrpc endpoint --- src/views/stream.tsx | 2 ++ 1 file changed, 2 insertions(+) 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(","); -- 2.51.2