]> git.mxchange.org Git - friendica.git/blobdiff - mod/_well_known.php
admin mail list seems wrong escaped
[friendica.git] / mod / _well_known.php
index c5bee3fdad4b49280b6f9543353fbe5a5524df50..f6a351bb2369802f5b16bc015594b43387b0233a 100644 (file)
@@ -27,7 +27,6 @@ function _well_known_init(App $a)
                }
        }
        System::httpExit(404);
-       killme();
 }
 
 function wk_social_relay()
@@ -70,9 +69,11 @@ function wk_social_relay()
        }
 
        $relay = [
-               "subscribe" => $subscribe,
-               "scope" => $scope,
-               "tags" => $taglist
+               'subscribe' => $subscribe,
+               'scope' => $scope,
+               'tags' => $taglist,
+               'protocols' => ['diaspora' => ['receive' => System::baseUrl() . '/receive/public'],
+                       'dfrn' => ['receive' => System::baseUrl() . '/dfrn_notify']]
        ];
 
        header('Content-type: application/json; charset=utf-8');