Merge pull request #14241 from annando/nodeinfo
Support for "nodeDescription" in nodeinfopull/14245/head
commit
de19bf43d9
|
@ -60,6 +60,7 @@ class NodeInfo120 extends BaseModule
|
||||||
'usage' => Nodeinfo::getUsage(),
|
'usage' => Nodeinfo::getUsage(),
|
||||||
'metadata' => [
|
'metadata' => [
|
||||||
'nodeName' => $this->config->get('config', 'sitename'),
|
'nodeName' => $this->config->get('config', 'sitename'),
|
||||||
|
'nodeDescription' => $this->config->get('config', 'info'),
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,10 @@ class NodeInfo121 extends BaseModule
|
||||||
'services' => Nodeinfo::getServices(),
|
'services' => Nodeinfo::getServices(),
|
||||||
'openRegistrations' => Register::getPolicy() !== Register::CLOSED,
|
'openRegistrations' => Register::getPolicy() !== Register::CLOSED,
|
||||||
'usage' => Nodeinfo::getUsage(),
|
'usage' => Nodeinfo::getUsage(),
|
||||||
'metadata' => [],
|
'metadata' => [
|
||||||
|
'nodeName' => $this->config->get('config', 'sitename'),
|
||||||
|
'nodeDescription' => $this->config->get('config', 'info'),
|
||||||
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
if (!empty($this->config->get('system', 'diaspora_enabled'))) {
|
if (!empty($this->config->get('system', 'diaspora_enabled'))) {
|
||||||
|
|
|
@ -491,6 +491,7 @@ return [
|
||||||
'/logout' => [Module\Security\Logout::class, [R::GET, R::POST]],
|
'/logout' => [Module\Security\Logout::class, [R::GET, R::POST]],
|
||||||
'/magic' => [Module\Magic::class, [R::GET]],
|
'/magic' => [Module\Magic::class, [R::GET]],
|
||||||
'/manifest' => [Module\Manifest::class, [R::GET]],
|
'/manifest' => [Module\Manifest::class, [R::GET]],
|
||||||
|
'/manifest.json' => [Module\Manifest::class, [R::GET]],
|
||||||
'/friendica.webmanifest' => [Module\Manifest::class, [R::GET]],
|
'/friendica.webmanifest' => [Module\Manifest::class, [R::GET]],
|
||||||
|
|
||||||
'/media' => [
|
'/media' => [
|
||||||
|
|
Loading…
Reference in New Issue