kopia lustrzana https://github.com/snarfed/bridgy-fed
flask: minor tweak, avoid double /s in host-meta templates
rodzic
80a0969575
commit
bcf31047e7
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
"rel": "lrdd",
|
||||
"type": "application/json",
|
||||
"template": "{{ host_uri }}/.well-known/webfinger?resource={uri}"
|
||||
"template": "{{ host_uri }}.well-known/webfinger?resource={uri}"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'>
|
||||
<Link rel='lrdd' type='application/json'
|
||||
template='{{ host_uri }}/.well-known/webfinger?resource={uri}' />
|
||||
template='{{ host_uri }}.well-known/webfinger?resource={uri}' />
|
||||
</XRD>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<Type>xri://$xrds*simple</Type>
|
||||
<Service>
|
||||
<Type>lrdd</Type>
|
||||
<URI>{{ host_uri }}/.well-known/webfinger?resource={uri}</URI>
|
||||
<URI>{{ host_uri }}.well-known/webfinger?resource={uri}</URI>
|
||||
</Service>
|
||||
</XRD>
|
||||
</XRDS>
|
||||
|
|
Ładowanie…
Reference in New Issue