]> git.mxchange.org Git - friendica.git/blobdiff - mod/xrd.php
Issue 6149: Making OWA (hopefully) compatible with Hubzilla
[friendica.git] / mod / xrd.php
index 4b9b0ee8fb4e1931848b799cb07d5a86ec6b2dc7..1611540a6c4955990beb48644f7c1851adb7abd2 100644 (file)
@@ -92,7 +92,7 @@ function xrd_json($a, $uri, $alias, $profile_url, $r)
                        ['rel' => 'http://salmon-protocol.org/ns/salmon-mention', 'href' => System::baseUrl().'/salmon/'.$r['nickname'].'/mention'],
                        ['rel' => 'http://ostatus.org/schema/1.0/subscribe', 'template' => System::baseUrl().'/follow?url={uri}'],
                        ['rel' => 'magic-public-key', 'href' => 'data:application/magic-public-key,'.$salmon_key],
-                       ['rel' => 'http://purl.org/openwebauth/v1', 'type' => 'application/x-dfrn+json', 'href' => System::baseUrl().'/owa']
+                       ['rel' => 'http://purl.org/openwebauth/v1', 'type' => 'application/x-zot+json', 'href' => System::baseUrl().'/owa']
                ]
        ];