From bcf31047e707e5d7739954af1b91b14dc9359c49 Mon Sep 17 00:00:00 2001 From: Ryan Barrett Date: Sun, 11 Jul 2021 18:01:10 -0700 Subject: [PATCH] flask: minor tweak, avoid double /s in host-meta templates --- templates/host-meta.jrd | 2 +- templates/host-meta.xrd | 2 +- templates/host-meta.xrds | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/host-meta.jrd b/templates/host-meta.jrd index 47cc7a3..a56fa09 100644 --- a/templates/host-meta.jrd +++ b/templates/host-meta.jrd @@ -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}" } ] } diff --git a/templates/host-meta.xrd b/templates/host-meta.xrd index ae80af5..618427e 100644 --- a/templates/host-meta.xrd +++ b/templates/host-meta.xrd @@ -1,5 +1,5 @@ + template='{{ host_uri }}.well-known/webfinger?resource={uri}' /> diff --git a/templates/host-meta.xrds b/templates/host-meta.xrds index 8f12152..f6f380c 100644 --- a/templates/host-meta.xrds +++ b/templates/host-meta.xrds @@ -4,7 +4,7 @@ xri://$xrds*simple lrdd - {{ host_uri }}/.well-known/webfinger?resource={uri} + {{ host_uri }}.well-known/webfinger?resource={uri}