tangled
alpha
login
or
join now
ptr.pet
/
hydrant
28
fork
atom
at protocol indexer with flexible filtering, xrpc queries, and a cursor-backed event stream, built on fjall
at-protocol
atproto
indexer
rust
fjall
28
fork
atom
overview
issues
6
pulls
pipelines
[crawler] set scheme to https on the listRecords request url
ptr.pet
1 month ago
0a89d674
6e76fb9e
verified
This commit was signed with the committer's
known signature
.
ptr.pet
SSH Key Fingerprint:
SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw=
+4
-1
1 changed file
expand all
collapse all
unified
split
src
crawler
mod.rs
+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
53
-
let res_result = self.http.xrpc(self.relay_host.clone()).send(&req).await;
53
53
+
let mut url = self.relay_host.clone();
54
54
+
url.set_scheme("https")
55
55
+
.map_err(|_| miette::miette!("invalid url: {url}"))?;
56
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()?,