Fix webfinger Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
Anirudh Oppiliappan x@icyphox.sh
Thu, 04 Jun 2020 11:19:08 +0530
1 files changed,
4 insertions(+),
2 deletions(-)
jump to
M
bin/webfinger.sh
→
bin/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