Move mod/noscrape to Module\Noscrape

This commit is contained in:
nupplaPhil 2020-01-26 23:43:47 +01:00
parent 9269221825
commit 4260b94fec
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
3 changed files with 117 additions and 111 deletions

View file

@ -167,6 +167,11 @@ return [
'/nodeinfo/{version}' => [Module\NodeInfo::class, [R::GET]],
'/nogroup' => [Module\Group::class, [R::GET]],
'/noscrape' => [
'/{nick}' => [Module\NoScrape::class, [R::GET]],
'/{profile}/view' => [Module\NoScrape::class, [R::GET]],
],
'/notifications' => [
'/network[/json]' => [Module\Notifications\Notifications::class, [R::GET, R::POST]],
'/system[/json]' => [Module\Notifications\Notifications::class, [R::GET, R::POST]],