diff options
author | Robin Appelman <robin@icewind.nl> | 2020-10-14 17:41:51 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2020-10-16 14:06:04 +0200 |
commit | ba1adcef521f5e70af82e931bdd1b4cbac09e928 (patch) | |
tree | f85d626af711a9acfda97403b774b802895823ca /appinfo | |
parent | ef8c6f81fc74bd07670a6b6d31bea8cbef53a86e (diff) |
add route for profile page with trailing slash
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 077c37ee..f97e1ebd 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -51,6 +51,7 @@ return [ ['name' => 'ActivityPub#actor', 'url' => '/users/{username}', 'verb' => 'GET'], ['name' => 'ActivityPub#actorAlias', 'url' => '/@{username}', 'verb' => 'GET'], + ['name' => 'ActivityPub#actorAlias', 'url' => '/@{username}/', 'verb' => 'GET'], ['name' => 'ActivityPub#inbox', 'url' => '/@{username}/inbox', 'verb' => 'POST'], ['name' => 'ActivityPub#getInbox', 'url' => '/@{username}/inbox', 'verb' => 'GET'], ['name' => 'ActivityPub#sharedInbox', 'url' => '/inbox', 'verb' => 'POST'], |