From e316e1a8404d0ef9964396962024732424f6d6a0 Mon Sep 17 00:00:00 2001 From: alemi Date: Tue, 23 Apr 2024 05:07:04 +0200 Subject: [PATCH] fix: also change main key name for actor --- src/routes/activitypub/application.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/activitypub/application.rs b/src/routes/activitypub/application.rs index 451885ae..90de4dc1 100644 --- a/src/routes/activitypub/application.rs +++ b/src/routes/activitypub/application.rs @@ -31,7 +31,7 @@ pub async fn view( .set_preferred_username(Some(ctx.domain())) .set_public_key(apb::Node::object( serde_json::Value::new_object() - .set_id(Some(&url!(ctx, "#main-key"))) + .set_id(Some(&url!(ctx, "/#main-key"))) .set_owner(Some(&url!(ctx, ""))) .set_public_key_pem(&ctx.app().public_key) ))