forked from alemi/upub
fix: added inbox and outbox to main app actor
This commit is contained in:
parent
72774d01ed
commit
6614f63f56
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@ pub async fn view(State(ctx): State<Context>) -> Result<JsonLD<serde_json::Value
|
|||
.set_actor_type(Some(apb::ActorType::Application))
|
||||
.set_name(Some("μpub"))
|
||||
.set_summary(Some("micro social network, federated"))
|
||||
.set_inbox(apb::Node::link(url!(ctx, "/inbox")))
|
||||
.set_outbox(apb::Node::link(url!(ctx, "/outbox")))
|
||||
.set_published(Some(ctx.app().created))
|
||||
.set_public_key(apb::Node::object(
|
||||
serde_json::Value::new_object()
|
||||
|
|
Loading…
Reference in a new issue