diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2018-11-12 21:56:54 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2018-11-12 21:56:54 -0100 |
commit | 6d2d8f9565c54d9168767f377fb2d9adb602255d (patch) | |
tree | 0d51e218b2a10b4313bd749065db90077c05f987 | |
parent | 96d5e69deea598d901ff074504aa17ed1f18b8ce (diff) |
new routes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r-- | lib/webfinger.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/webfinger.php b/lib/webfinger.php index 3e921ddc..9b3a67f5 100644 --- a/lib/webfinger.php +++ b/lib/webfinger.php @@ -53,13 +53,14 @@ $finger = [ [ 'rel' => 'self', 'type' => 'application/activity+json', - // 'href' => 'https://test.artificial-owl.com/apps/social/@' . $username 'href' => $urlGenerator->linkToRouteAbsolute( - 'social.ActivityPub.aliasactor', ['username' => $username] + 'social.ActivityPub.actorAlias', ['username' => $username] ) ] ] ]; header('Content-type: application/json'); + echo json_encode($finger); + |