forked from indymedia/epicyon
Simplify webfinger
parent
3dd37d348c
commit
f17ab7d8cc
|
@ -127,20 +127,11 @@ def createWebfingerEndpoint(nickname: str,domain: str,port: int, \
|
||||||
"rel": "http://webfinger.net/rel/profile-page",
|
"rel": "http://webfinger.net/rel/profile-page",
|
||||||
"type": "text/html"
|
"type": "text/html"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"href": personId+".atom",
|
|
||||||
"rel": "http://schemas.google.com/g/2010#updates-from",
|
|
||||||
"type": "application/atom+xml"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"href": personId,
|
"href": personId,
|
||||||
"rel": "self",
|
"rel": "self",
|
||||||
"type": "application/activity+json"
|
"type": "application/activity+json"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"href": httpPrefix+"://"+domain+"/api/salmon/1",
|
|
||||||
"rel": "salmon"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"href": generateMagicKey(publicKeyPem),
|
"href": generateMagicKey(publicKeyPem),
|
||||||
"rel": "magic-public-key"
|
"rel": "magic-public-key"
|
||||||
|
|
Loading…
Reference in New Issue