From a84232811dadccf7047424f27340a7f9847bedff Mon Sep 17 00:00:00 2001 From: winter Date: Sat, 7 Dec 2024 21:44:42 +0000 Subject: many many changes but actors are loaded from db now --- routes/nodeinfo.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'routes/nodeinfo.php') 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 -- cgit v1.3