diff --git a/API/SALT.sh b/API/SALT.sh index d0bac673..b9a7840b 100755 --- a/API/SALT.sh +++ b/API/SALT.sh @@ -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