Add /.well-known/security.txt route and module

This commit is contained in:
Hypolite Petovan 2021-03-10 09:58:48 -05:00
parent b2f30df7fd
commit 2d91db9e76
2 changed files with 44 additions and 0 deletions

View file

@ -44,6 +44,7 @@ return [
'/.well-known' => [
'/host-meta' => [Module\WellKnown\HostMeta::class, [R::GET]],
'/nodeinfo' => [Module\WellKnown\NodeInfo::class, [R::GET]],
'/security.txt' => [Module\WellKnown\SecurityTxt::class, [R::GET]],
'/webfinger' => [Module\Xrd::class, [R::GET]],
'/x-nodeinfo2' => [Module\NodeInfo210::class, [R::GET]],
'/x-social-relay' => [Module\WellKnown\XSocialRelay::class, [R::GET]],