Simplify webfinger

master
Bob Mottram 2019-08-25 21:39:12 +01:00
parent 3dd37d348c
commit f17ab7d8cc
1 changed files with 0 additions and 9 deletions

View File

@ -127,20 +127,11 @@ def createWebfingerEndpoint(nickname: str,domain: str,port: int, \
"rel": "http://webfinger.net/rel/profile-page",
"type": "text/html"
},
{
"href": personId+".atom",
"rel": "http://schemas.google.com/g/2010#updates-from",
"type": "application/atom+xml"
},
{
"href": personId,
"rel": "self",
"type": "application/activity+json"
},
{
"href": httpPrefix+"://"+domain+"/api/salmon/1",
"rel": "salmon"
},
{
"href": generateMagicKey(publicKeyPem),
"rel": "magic-public-key"