1
0
Fork 0

Enable POST route for /filerm module

- This prevents a costly page empty page render when calling the module asynchronously
This commit is contained in:
Hypolite Petovan 2022-09-05 01:02:38 -04:00
commit cacfc6ec92
2 changed files with 57 additions and 20 deletions

View file

@ -410,7 +410,7 @@ return [
],
'/filed' => [Module\Search\Filed::class, [R::GET]],
'/filer[/{id:\d+}]' => [Module\Filer\SaveTag::class, [R::GET]],
'/filerm/{id:\d+}' => [Module\Filer\RemoveTag::class, [R::GET]],
'/filerm/{id:\d+}' => [Module\Filer\RemoveTag::class, [R::GET, R::POST]],
'/follow_confirm' => [Module\FollowConfirm::class, [R::GET, R::POST]],
'/followers/{nickname}' => [Module\ActivityPub\Followers::class, [R::GET]],
'/following/{nickname}' => [Module\ActivityPub\Following::class, [R::GET]],