flask: minor tweak, avoid double /s in host-meta templates

flask
Ryan Barrett 2021-07-11 18:01:10 -07:00
rodzic 80a0969575
commit bcf31047e7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6BE31FDF4776E9D4
3 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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}"
}
]
}

Wyświetl plik

@ -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>

Wyświetl plik

@ -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>