From 7931e210e5ce37c4f9aa16033fd8b64b52fcfeb5 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Wed, 13 Apr 2022 11:19:17 -0500 Subject: [PATCH] Make pubKey IRI #main-key instead of /#main-key --- routers/api/v1/activitypub/person.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/api/v1/activitypub/person.go b/routers/api/v1/activitypub/person.go index 4be076a9ce..9df834dd4d 100644 --- a/routers/api/v1/activitypub/person.go +++ b/routers/api/v1/activitypub/person.go @@ -67,7 +67,7 @@ func Person(ctx *context.APIContext) { publicKeyType := streams.NewW3IDSecurityV1PublicKey() pubKeyIDProp := streams.NewJSONLDIdProperty() - pubKeyIRI, _ := url.Parse(link + "/#main-key") + pubKeyIRI, _ := url.Parse(link + "#main-key") pubKeyIDProp.SetIRI(pubKeyIRI) publicKeyType.SetJSONLDId(pubKeyIDProp)