]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/PushSubscription.php
New parameter to create a share block for display reasons
[friendica.git] / src / Worker / PushSubscription.php
index e6876ad3eb21bd0ca2e9c90ff2404a80deb0bc08..17b47f1cbd8388dc512e1846e6868e518890e1b4 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
  *
@@ -115,7 +115,7 @@ class PushSubscription
 
                $auth = [
                        'VAPID' => [
-                               'subject'    => DI::baseUrl()->getHostname(),
+                               'subject'    => DI::baseUrl()->getHost(),
                                'publicKey'  => ModelSubscription::getPublicVapidKey(),
                                'privateKey' => ModelSubscription::getPrivateVapidKey(),
                        ],