Fix instance AP outbox url (#4917)

//site_outbox to /site_outbox
This commit is contained in:
John Spurlock 2024-07-24 05:18:28 -05:00 committed by GitHub
parent 9738d87f38
commit 7321a63005
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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(),