diff options
Diffstat (limited to 'lib/webfinger.php')
-rw-r--r-- | lib/webfinger.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/webfinger.php b/lib/webfinger.php index 7d8f1fe0..8a50b82c 100644 --- a/lib/webfinger.php +++ b/lib/webfinger.php @@ -68,8 +68,9 @@ try { exit; } -$href = - $urlGenerator->linkToRouteAbsolute('social.ActivityPub.actorAlias', ['username' => $username]); +$href = $configService->getUrlSocial( + $urlGenerator->linkToRoute('social.ActivityPub.actorAlias', ['username' => $username]) +); if (substr($href, -1) === '/') { $href = substr($href, 0, -1); @@ -79,7 +80,7 @@ $finger = [ 'subject' => $subject, 'links' => [ [ - 'rel' => 'self', + 'rel' => 'self', 'type' => 'application/activity+json', 'href' => $href ] |