Create new OStatus\PubSubHubBub module class

- Retaining the same /pubsubhubbub route to keep backward compatibility
This commit is contained in:
Hypolite Petovan 2022-11-10 21:23:57 -05:00
commit a8759a9b86
2 changed files with 176 additions and 1 deletions

View file

@ -569,7 +569,8 @@ return [
'/{sub1}/{sub2}/{url}' => [Module\Proxy::class, [R::GET]],
],
'/salmon/{nickname}' => [Module\OStatus\Salmon::class, [ R::POST]],
'/pubsubhubbub/{nickname}' => [Module\OStatus\PubSubHubBub::class, [ R::POST]],
'/salmon/{nickname}' => [Module\OStatus\Salmon::class, [ R::POST]],
'/search' => [
'[/]' => [Module\Search\Index::class, [R::GET ]],