diff options
Diffstat (limited to 'routes/nodeinfo.php')
| -rw-r--r-- | routes/nodeinfo.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/routes/nodeinfo.php b/routes/nodeinfo.php index b507849..e85bca1 100644 --- a/routes/nodeinfo.php +++ b/routes/nodeinfo.php @@ -34,9 +34,13 @@ Router::getInstance()->mount('/nodeinfo/2.1', function (array $args) { 'metadata' => [ 'nodeName' => "winter's pawsome test server", 'nodeDescription' => 'written in php i dunno', - 'wpfExtensions' => [ - // - ] + 'wpf' => [ + 'extensions' => [ + // 'https://whatever.example/ext/meow', + ], + // 'pushEndpoint' => path_to_uri('/push'), + // 'authEndpoint' => path_to_uri('/auth') + ], ] ], 'application/json; profile="http://nodeinfo.diaspora.software/ns/schema/2.1#"'); });
\ No newline at end of file |
