Optional outbox

This commit is contained in:
asonix
2020-05-21 17:29:18 -05:00
parent 17886732dd
commit ce9de20471
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,6 @@ pub async fn route(
let mut application = Ext1::new(
ApActor::new(
config.generate_url(UrlKind::Inbox).parse()?,
config.generate_url(UrlKind::Outbox).parse()?,
Application::new(),
),
PublicKey {
@@ -42,6 +41,7 @@ pub async fn route(
.set_url(config.generate_url(UrlKind::Actor).parse::<XsdAnyUri>()?)
.set_many_contexts(vec![context(), security()])
.set_preferred_username("relay".into())
.set_outbox(config.generate_url(UrlKind::Outbox).parse()?)
.set_followers(
config
.generate_url(UrlKind::Followers)