]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/WellKnown/XSocialRelay.php
spelling: however
[friendica.git] / src / Module / WellKnown / XSocialRelay.php
index d89d08e0838da1331785c74d5d19bd596578b226..11835ec351d413e7a4ff60d526d6d24775971c87 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
  *
@@ -64,17 +64,17 @@ class XSocialRelay extends BaseModule
                        'tags'      => $tagList,
                        'protocols' => [
                                'activitypub' => [
-                                       'actor' => DI::baseUrl()->get() . '/friendica',
-                                       'receive' => DI::baseUrl()->get() . '/inbox'
+                                       'actor' => DI::baseUrl() . '/friendica',
+                                       'receive' => DI::baseUrl() . '/inbox'
                                ],
                                'dfrn'     => [
-                                       'receive' => DI::baseUrl()->get() . '/dfrn_notify'
+                                       'receive' => DI::baseUrl() . '/dfrn_notify'
                                ]
                        ]
                ];
 
                if (DI::config()->get("system", "diaspora_enabled")) {
-                       $relay['protocols']['diaspora'] = ['receive' => DI::baseUrl()->get() . '/receive/public'];
+                       $relay['protocols']['diaspora'] = ['receive' => DI::baseUrl() . '/receive/public'];
                }
 
                System::jsonExit($relay);