1
1
Fork 0

add regex for route

This commit is contained in:
nupplaPhil 2020-02-01 00:22:56 +01:00
parent d4e836855b
commit c5653d30f3
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90

View file

@ -128,7 +128,8 @@ return [
'/followers/{owner}' => [Module\Followers::class, [R::GET]],
'/following/{owner}' => [Module\Following::class, [R::GET]],
'/friendica[/json]' => [Module\Friendica::class, [R::GET]],
'/fsuggest/{contact}' => [Module\FriendSuggest::class, [R::GET, R::POST]],
'/fsuggest/{contact:\d+}' => [Module\FriendSuggest::class, [R::GET, R::POST]],
'/group' => [
'[/]' => [Module\Group::class, [R::GET, R::POST]],