diff options
| author | winter | 2025-03-18 23:50:46 +0000 |
|---|---|---|
| committer | winter | 2025-03-18 23:50:46 +0000 |
| commit | 8f2e7d161e46dffbce0236cb278ff294732e12d5 (patch) | |
| tree | 5cc249f43c353c1b3b9185f922c41edddc4bd864 /routes | |
| parent | 26d2b0681084029260ed07e8a0a7c9e704d1c52a (diff) | |
list supported extensions in nodeinfo
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/nodeinfo.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/routes/nodeinfo.php b/routes/nodeinfo.php index 1b2b537..5f7eb53 100644 --- a/routes/nodeinfo.php +++ b/routes/nodeinfo.php @@ -1,6 +1,8 @@ <?php use Digitigrade\GlobalSettings; +use Digitigrade\Model\Actor; +use Digitigrade\Model\Note; use Digitigrade\Model\UserAccount; use Digitigrade\Router; @@ -39,7 +41,9 @@ Router::getInstance()->mount('/nodeinfo/2.1', function (array $args) { 'nodeDescription' => $s->get('instance.description'), 'pawpub' => [ 'extensions' => [ - // 'https://whatever.example/ext/meow', + Actor::EXTENSION_POKE, + Note::EXTENSION_LINK_PREVIEWS, + Note::EXTENSION_PAGES, ] ] ] |
