Merge pull request #14486 from annando/issue-14145

Issue 14145: Fix communication with Hubzilla
This commit is contained in:
Tobias Diekershoff 2024-10-21 18:31:24 +02:00 committed by GitHub
commit a0a8aeb304
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 0 deletions

View file

@ -58,6 +58,9 @@ class JsonLD
case 'http://joinmastodon.org/ns':
$url = DI::basePath() . '/static/joinmastodon.jsonld';
break;
case 'https://purl.archive.org/socialweb/webfinger':
$url = DI::basePath() . '/static/socialweb-webfinger.jsonld';
break;
default:
switch (parse_url($url, PHP_URL_PATH)) {
case '/schemas/litepub-0.1.jsonld';

View 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"
}
}
}