url grabb

This commit is contained in:
fred 2023-03-15 04:14:37 +01:00
parent 73a20e82f7
commit 8a10eb9c53
1 changed files with 4 additions and 2 deletions

View File

@ -413,7 +413,8 @@ echo "" > ~/.zen/tmp/.ipfsgw.bad.twt # TODO move in 20h12.sh
# GETIPNS
##############################################
if [[ $APPNAME == "getipns" ]]; then
( echo "$HTTPCORS url=${ASTRONAUTENS}"| nc -l -p ${PORT} -q 1 > /dev/null 2>&1 && echo "SLURP getipns : ${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 +424,8 @@ echo "" > ~/.zen/tmp/.ipfsgw.bad.twt # TODO move in 20h12.sh
# GETG1PUB
##############################################
if [[ $APPNAME == "getg1pub" ]]; then
( echo "$HTTPCORS url=${G1PUB}"| nc -l -p ${PORT} -q 1 > /dev/null 2>&1 && echo "SLURP getg1pub : ${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