From 5d64d6ac469dc6e92792121cab0f102cebb8670f Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Mon, 2 Jan 2023 13:33:19 -0500 Subject: add webfinger alias for actor profile page and add attributedTo to outbox --- views/webfinger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/webfinger.go') diff --git a/views/webfinger.go b/views/webfinger.go index 5af6308..e6ddc23 100644 --- a/views/webfinger.go +++ b/views/webfinger.go @@ -25,7 +25,7 @@ func RenderWebfinger(name, domain, hostname string) (*WebfingerResource, error) } rs := WebfingerResource{ Subject: fmt.Sprintf("acct:%s%s", name, hostname), //hostname contains @ - Aliases: []string{}, + Aliases: []string{actorUrl.String()}, Links: []Link{{ Rel: "self", Href: actorUrl.String(), -- cgit v1.2.3