]> git.mxchange.org Git - friendica.git/blobdiff - static/routes.config.php
Merge pull request #12782 from annando/c2s-2
[friendica.git] / static / routes.config.php
index 2219ea454444d2bbe9a450032a7fb51b446a4969..391a7dc5eea8838a634b2a525bb0d8af1798020f 100644 (file)
@@ -156,6 +156,7 @@ $apiRoutes = [
                '/show[.{extension:json|xml|rss|atom}]'                    => [Module\Api\Twitter\Users\Show::class,   [R::GET         ]],
                '/show/{id:\d+}[.{extension:json|xml|rss|atom}]'           => [Module\Api\Twitter\Users\Show::class,   [R::GET         ]],
        ],
+       '/whoami'                                                      => [Module\ActivityPub\Whoami::class, [R::GET         ]],
 ];
 
 return [