diff --git a/constellation/src/server/filters.rs b/constellation/src/server/filters.rs index d8ab57f..cf7b25c 100644 --- a/constellation/src/server/filters.rs +++ b/constellation/src/server/filters.rs @@ -5,12 +5,10 @@ pub fn to_browseable(s: &str) -> askama::Result> { Ok({ if let Some(link) = parse_any_link(s) { match link { - Link::AtUri(at_uri) => at_uri.strip_prefix("at://").map(|noproto| { - format!("https://atproto-browser-plus-links.vercel.app/at/{noproto}") - }), - Link::Did(did) => Some(format!( - "https://atproto-browser-plus-links.vercel.app/at/{did}" - )), + Link::AtUri(at_uri) => at_uri + .strip_prefix("at://") + .map(|noproto| format!("https://pdsls.dev/at://{noproto}")), + Link::Did(did) => Some(format!("https://pdsls.dev/at://{did}")), Link::Uri(uri) => Some(uri), } } else { diff --git a/constellation/templates/dids.html.j2 b/constellation/templates/dids.html.j2 index 12df459..f694428 100644 --- a/constellation/templates/dids.html.j2 +++ b/constellation/templates/dids.html.j2 @@ -27,7 +27,7 @@ {% for did in linking_dids %}
DID: {{ did.0 }}
   -> see links to this DID
-  -> browse this DID record
+ -> browse this DID record {% endfor %} {% if let Some(c) = cursor %}