at protocol indexer with flexible filtering, xrpc queries, and a cursor-backed event stream, built on fjall
at-protocol atproto indexer rust fjall

[crawler] set scheme to https on the listRecords request url

ptr.pet 0a89d674 6e76fb9e

verified
+4 -1
+4 -1
src/crawler/mod.rs
··· 50 50 .maybe_cursor(cursor.clone().map(|c| CowStr::from(c.to_string()))) 51 51 .build(); 52 52 53 - let res_result = self.http.xrpc(self.relay_host.clone()).send(&req).await; 53 + let mut url = self.relay_host.clone(); 54 + url.set_scheme("https") 55 + .map_err(|_| miette::miette!("invalid url: {url}"))?; 56 + let res_result = self.http.xrpc(url).send(&req).await; 54 57 55 58 let output: ListReposOutput = match res_result { 56 59 Ok(res) => res.into_output().into_diagnostic()?,