]> git.mxchange.org Git - friendica.git/blobdiff - include/items.php
Update the cached rendered html when it changed
[friendica.git] / include / items.php
index b46e0d6a6214a2527ad7e446e20443af9bfedba3..af13898b2496d3f48d440314626a9f7b4fb37b2f 100644 (file)
@@ -290,7 +290,7 @@ function subscribe_to_hub($url, $importer, $contact, $hubmode = 'subscribe') {
                return;
        }
 
-       $push_url = Config::get('system','url') . '/pubsub/' . $r[0]['nickname'] . '/' . $contact['id'];
+       $push_url = System::baseUrl() . '/pubsub/' . $r[0]['nickname'] . '/' . $contact['id'];
 
        // Use a single verify token, even if multiple hubs
        $verify_token = ((strlen($contact['hub-verify'])) ? $contact['hub-verify'] : random_string());