fix: /#main-key for application

This commit is contained in:
əlemi 2024-07-10 15:20:23 +02:00
parent b086fe969f
commit 6ff288e936
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -33,7 +33,7 @@ pub async fn view(
.set_url(apb::Node::link(upub::url!(ctx, "/"))) .set_url(apb::Node::link(upub::url!(ctx, "/")))
.set_public_key(apb::Node::object( .set_public_key(apb::Node::object(
apb::new() apb::new()
.set_id(Some(&upub::url!(ctx, "#main-key"))) .set_id(Some(&upub::url!(ctx, "/#main-key")))
.set_owner(Some(&upub::url!(ctx, ""))) .set_owner(Some(&upub::url!(ctx, "")))
.set_public_key_pem(&ctx.actor().public_key) .set_public_key_pem(&ctx.actor().public_key)
)) ))