mirror of
https://github.com/friendica/friendica
synced 2024-11-17 22:23:41 +00:00
Issue 14145: Fix communication with Hubzilla
This commit is contained in:
parent
e8ab8a84af
commit
58cd216eb7
2 changed files with 13 additions and 0 deletions
|
@ -58,6 +58,9 @@ class JsonLD
|
||||||
case 'http://joinmastodon.org/ns':
|
case 'http://joinmastodon.org/ns':
|
||||||
$url = DI::basePath() . '/static/joinmastodon.jsonld';
|
$url = DI::basePath() . '/static/joinmastodon.jsonld';
|
||||||
break;
|
break;
|
||||||
|
case 'https://purl.archive.org/socialweb/webfinger':
|
||||||
|
$url = DI::basePath() . '/static/socialweb-webfinger.jsonld';
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
switch (parse_url($url, PHP_URL_PATH)) {
|
switch (parse_url($url, PHP_URL_PATH)) {
|
||||||
case '/schemas/litepub-0.1.jsonld';
|
case '/schemas/litepub-0.1.jsonld';
|
||||||
|
|
10
static/socialweb-webfinger.jsonld
Normal file
10
static/socialweb-webfinger.jsonld
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
"@context": {
|
||||||
|
"wf": "https://purl.archive.org/socialweb/webfinger#",
|
||||||
|
"xsd": "http://www.w3.org/2001/XMLSchema#",
|
||||||
|
"webfinger": {
|
||||||
|
"@id": "wf:webfinger",
|
||||||
|
"@type": "xsd:string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue