-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: fmrl-client
action: commit
revision:
path_from:
revision_from: 08aa9c240c81d97efa5b8865972487eb908a6012:
path_to:
revision_to:

git.thebackupbox.net

fmrl-client

git://git.thebackupbox.net/fmrl-client

commit 08aa9c240c81d97efa5b8865972487eb908a6012
Author: epoch <epoch@enzo.thebackupbox.net>
Date:   Mon Jan 17 07:50:53 2022 +0000

    now sending X-Face on PATCH updates

diff --git a/fmrl-update-with-patch b/fmrl-update-with-patch

index bdc3e5a291e7f5d0d263a3b64ba5e45fc96c081a..

index ..dbf75cd43d45d5b4589601868f2b4ea7db6e421f 100755

--- a/fmrl-update-with-patch
+++ b/fmrl-update-with-patch
@@ -17,8 +17,8 @@ cat "$file"

 if [ "$dry" ];then
   echo "would have done this:"
-  echo curl -X PATCH "https://${host}/fmrl/user/${user}" -T"${file}"
+  echo curl -H \""X-Face: $(cat ~/.config/xface)"\" -X PATCH "https://${host}/.well-known/fmrl/user/${user}" -T"${file}"
 else
-  curl -X PATCH "https://${host}/fmrl/user/${user}" -T"${file}"
+  curl -H "X-Face: $(cat ~/.config/xface)" -X PATCH "https://${host}/.well-known/fmrl/user/${user}" -T"${file}"
 fi
 rm "${file}"

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 16:24:13 2024