]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/NodeInfo210.php
Option to automatically add links as attachment via API
[friendica.git] / src / Module / NodeInfo210.php
index 723736a6185ad015f4703b5eec51d1360680cdce..e7112846c6c9c86400a12f595f47fdee31ee2d13 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -52,10 +52,9 @@ class NodeInfo210 extends BaseModule
                $nodeinfo = [
                        'version' => '1.0',
                        'server'  => [
-                               'baseUrl'  => $this->baseUrl->get(),
                                'name'     => $this->config->get('config', 'sitename'),
                                'software' => 'friendica',
-                               'version'  => FRIENDICA_VERSION . '-' . DB_UPDATE_VERSION,
+                               'version'  => App::VERSION . '-' . DB_UPDATE_VERSION,
                        ],
                        'organization'      => Nodeinfo::getOrganization($this->config),
                        'protocols'         => ['dfrn', 'activitypub'],