all repos — site @ 55c2a666496bd5daed398e7c8dd93c2b1e1f555d

source for my site, found at icyphox.sh

Fix webfinger

Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
Anirudh Oppiliappan x@icyphox.sh
Thu, 04 Jun 2020 11:19:08 +0530
commit

55c2a666496bd5daed398e7c8dd93c2b1e1f555d

parent

682fdab6fcbe8973c3723b8ebdac6f2f84dd915e

1 files changed, 4 insertions(+), 2 deletions(-)

jump to
M bin/webfinger.shbin/webfinger.sh

@@ -6,7 +6,9 @@ host_meta="host-meta"

mkdir -p "$well_known" touch "$well_known/$host_meta" -echo "<?xml version="1.0" encoding="UTF-8"?> +cat << EOF > "$well_known/$host_meta" +<?xml version="1.0" encoding="UTF-8"?> <XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0"> <Link rel="lrdd" type="application/xrd+xml" template="https://toot.icyphox.sh/.well-known/webfinger?resource={uri}"/> -</XRD>" > "$well_known/$host_meta" +</XRD> +EOF