summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2020-09-23 09:51:31 -0100
committerMaxence Lange <maxence@artificial-owl.com>2020-09-23 09:51:31 -0100
commit8043004d62e55f353c64ed8f5d22594f70bbfee3 (patch)
treeb17b6a61732086660d3b10b36edf9762fa232ecb /appinfo
parent261b7c70036566e71157234c2ae61dddb9e645a9 (diff)
fix route to nodeinfo2
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 377ff9aa..f88528b8 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -69,7 +69,7 @@ return [
// OAuth
['name' => 'OAuth#nodeinfo', 'url' => '/.well-known/nodeinfo', 'verb' => 'GET'],
- ['name' => 'OAuth#nodeinfo2', 'url' => '/nodeinfo/2.0', 'verb' => 'GET'],
+ ['name' => 'OAuth#nodeinfo2', 'url' => '/.well-known/nodeinfo/2.0', 'verb' => 'GET'],
['name' => 'OAuth#apps', 'url' => '/api/v1/apps', 'verb' => 'POST'],
['name' => 'OAuth#authorize', 'url' => '/oauth/authorize', 'verb' => 'GET'],
['name' => 'OAuth#token', 'url' => '/oauth/token', 'verb' => 'POST'],