Enable POST route for /filerm module
- This prevents a costly page empty page render when calling the module asynchronously
This commit is contained in:
parent
bdd80eeaaf
commit
cacfc6ec92
2 changed files with 57 additions and 20 deletions
|
|
@ -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]],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue