mirror of
https://github.com/friendica/friendica
synced 2024-12-23 04:40:15 +00:00
add regex for route
This commit is contained in:
parent
d4e836855b
commit
c5653d30f3
1 changed files with 2 additions and 1 deletions
|
@ -128,7 +128,8 @@ return [
|
||||||
'/followers/{owner}' => [Module\Followers::class, [R::GET]],
|
'/followers/{owner}' => [Module\Followers::class, [R::GET]],
|
||||||
'/following/{owner}' => [Module\Following::class, [R::GET]],
|
'/following/{owner}' => [Module\Following::class, [R::GET]],
|
||||||
'/friendica[/json]' => [Module\Friendica::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' => [
|
'/group' => [
|
||||||
'[/]' => [Module\Group::class, [R::GET, R::POST]],
|
'[/]' => [Module\Group::class, [R::GET, R::POST]],
|
||||||
|
|
Loading…
Reference in a new issue