diff options
| author | winter | 2024-12-09 21:31:54 +0000 |
|---|---|---|
| committer | winter | 2024-12-09 21:31:54 +0000 |
| commit | 4c7bde1400820f36caf8b2a5374007384c3018f3 (patch) | |
| tree | 83ed26ff368117b8e392f7bc28736482077fc2f4 /routes/nodeinfo.php | |
| parent | 50edbd3907c26a2d4d616421de9bb51a4d083c1b (diff) | |
rename to Digitigrade / PawPub
:3
Diffstat (limited to 'routes/nodeinfo.php')
| -rw-r--r-- | routes/nodeinfo.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/routes/nodeinfo.php b/routes/nodeinfo.php index e85bca1..c29ac0a 100644 --- a/routes/nodeinfo.php +++ b/routes/nodeinfo.php @@ -1,6 +1,6 @@ <?php -use WpfTest\Router; +use Digitigrade\Router; Router::getInstance()->mount('/.well-known/nodeinfo', function (array $args) { json_response([ @@ -17,10 +17,10 @@ Router::getInstance()->mount('/nodeinfo/2.1', function (array $args) { json_response([ 'version' => '2.1', 'software' => [ - 'name' => 'WPF test server', + 'name' => 'Digitigrade', 'version' => '0.1.0' ], - 'protocols' => ['wpf'], + 'protocols' => ['pawpub'], 'services' => [ 'inbound' => [], 'outbound' => [] @@ -32,9 +32,9 @@ Router::getInstance()->mount('/nodeinfo/2.1', function (array $args) { ] ], 'metadata' => [ - 'nodeName' => "winter's pawsome test server", - 'nodeDescription' => 'written in php i dunno', - 'wpf' => [ + 'nodeName' => 'A Digitigrade server', + 'nodeDescription' => 'nodeinfo is hardcoded for now', + 'pawpub' => [ 'extensions' => [ // 'https://whatever.example/ext/meow', ], |
