diff --git a/upub/routes/src/activitypub/application.rs b/upub/routes/src/activitypub/application.rs index 99b572a..365e531 100644 --- a/upub/routes/src/activitypub/application.rs +++ b/upub/routes/src/activitypub/application.rs @@ -28,6 +28,7 @@ pub async fn view( .set_published(Some(ctx.actor().published)) .set_endpoints(apb::Node::Empty) .set_preferred_username(Some(ctx.domain())) + .set_url(apb::Node::link(upub::url!(ctx, "/"))) .set_public_key(apb::Node::object( apb::new() .set_id(Some(&upub::url!(ctx, "#main-key")))