From 90b8ff7013a401e7c380925a0dcac91ea647da43 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 14 Mar 2023 21:54:55 +0100 Subject: [PATCH] url= for LaBureautique access --- API/SALT.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/API/SALT.sh b/API/SALT.sh index 73af3e69..d0bac673 100755 --- a/API/SALT.sh +++ b/API/SALT.sh @@ -413,7 +413,7 @@ echo "" > ~/.zen/tmp/.ipfsgw.bad.twt # TODO move in 20h12.sh # GETIPNS ############################################## if [[ $APPNAME == "getipns" ]]; then - ( echo "$HTTPCORS url=/ipns/${ASTRONAUTENS}"| nc -l -p ${PORT} -q 1 > /dev/null 2>&1 && echo "SLURP : ${ASTRONAUTENS}" ) & + ( echo "$HTTPCORS url=${ASTRONAUTENS}"| nc -l -p ${PORT} -q 1 > /dev/null 2>&1 && echo "SLURP getipns : ${ASTRONAUTENS}" ) & end=`date +%s` echo $APPNAME "(☉_☉ ) /ipns/${ASTRONAUTENS} Execution time was "`expr $end - $start` seconds. exit 0 @@ -423,7 +423,7 @@ echo "" > ~/.zen/tmp/.ipfsgw.bad.twt # TODO move in 20h12.sh # GETG1PUB ############################################## if [[ $APPNAME == "getg1pub" ]]; then - ( echo "$HTTPCORS url=/user/${G1PUB}"| nc -l -p ${PORT} -q 1 > /dev/null 2>&1 && echo "SLURP : ${G1PUB}" ) & + ( echo "$HTTPCORS url=${G1PUB}"| nc -l -p ${PORT} -q 1 > /dev/null 2>&1 && echo "SLURP getg1pub : ${G1PUB}" ) & end=`date +%s` echo $APPNAME "(☉_☉ ) /ipns/${ASTRONAUTENS} Execution time was "`expr $end - $start` seconds. exit 0