Skip to content

Commit

Permalink
Fix instance AP outbox url (#4917)
Browse files Browse the repository at this point in the history
//site_outbox to /site_outbox
  • Loading branch information
johnspurlock authored Jul 24, 2024
1 parent 9738d87 commit 7321a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/apub/src/objects/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ impl Object for ApubSite {
icon: self.icon.clone().map(ImageObject::new),
image: self.banner.clone().map(ImageObject::new),
inbox: self.inbox_url.clone().into(),
outbox: Url::parse(&format!("{}/site_outbox", self.actor_id))?,
outbox: Url::parse(&format!("{}site_outbox", self.actor_id))?,
public_key: self.public_key(),
language,
content_warning: self.content_warning.clone(),
Expand Down

0 comments on commit 7321a63

Please sign in to comment.