fix: webfinger media type

This commit is contained in:
əlemi 2024-09-18 22:40:36 +02:00
parent 75808bc926
commit 5126a462b5
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -145,7 +145,7 @@ pub async fn webfinger(
links: vec![ links: vec![
JsonResourceDescriptorLink { JsonResourceDescriptorLink {
rel: "self".to_string(), rel: "self".to_string(),
link_type: Some("application/ld+json".to_string()), link_type: Some("application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"".to_string()),
href: Some(user.id), href: Some(user.id),
properties: jrd::Map::default(), properties: jrd::Map::default(),
titles: jrd::Map::default(), titles: jrd::Map::default(),