diff --git a/12345.sh b/12345.sh index 8c31d1e3..3528491c 100755 --- a/12345.sh +++ b/12345.sh @@ -93,6 +93,9 @@ while true; do [ -z "$isLAN" ] \ && sed -i -e "s~http://${myIP}:${PORT}~${myASTROPORT}/${PORT}~g" ~/.zen/tmp/${MOATS}/${PORT}.myHOST.http + [ -n "$(zIp)" ]\ + && sed -i -e "s~http://${myIP}:${PORT}~$(zIp):${PORT}~g" ~/.zen/tmp/${MOATS}/${PORT}.myHOST.http + ## UPLANET HOME LINK REPLACEMENT sed -i -e "s~https://qo-op.com~${myUPLANET}~g" ~/.zen/tmp/${MOATS}/${PORT}.myHOST.http diff --git a/API/QRCODE.sh b/API/QRCODE.sh index 6ff463d0..b1c7a27b 100755 --- a/API/QRCODE.sh +++ b/API/QRCODE.sh @@ -683,7 +683,7 @@ echo ">>> ${QRCODE} g1_to_ipfs $ASTROTOIPNS" && ZEN=$(echo "($VISITORCOINS - 1) * 10" | bc | cut -d '.' -f 1) \ || ZEN="-10" - DISPLAY="$VISITORCOINS G1" + DISPLAY="

$VISITORCOINS G1

" ## WALLET VIERGE ########################################### @@ -692,14 +692,14 @@ echo ">>> ${QRCODE} g1_to_ipfs $ASTROTOIPNS" DISPLAY="$DISPLAY

!! LOW ZEN WALLET ZEN=${ZEN}

" - DISPLAY="$DISPLAY

LOW ZEN WARNING

+ DISPLAY="$DISPLAY

LOW ZEN WARNING

PLEASE CHARGE... ${ZEN} ZEN" fi ## WE SEND WALLET AMOUNT DISPLAY ( - echo "$HTTPCORS

${QRCODE}:${ZCHK}:

${DISPLAY}

SCAN WALLET

" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 + echo "$HTTPCORS ${QRCODE}:${ZCHK}:${DISPLAY}

SCAN WALLET

" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 echo "BLURP ${DISPLAY} $PORT" && rm -Rf ~/.zen/tmp/${MOATS} ) & diff --git a/tools/my.sh b/tools/my.sh index 12b2ded6..f33b8545 100755 --- a/tools/my.sh +++ b/tools/my.sh @@ -470,16 +470,17 @@ isLAN=$(echo $myIP | grep -E "/(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|( myDOMAIN="copylaradio.com" -myASTROPORT="http://$(hostname).local:1234" #astroport.localhost -myAPI="http://${myIP}:5001" +myASTROPORTW="http://$(hostname).local:1234" #astroport.localhost +myASTROPORT="http://127.0.0.1:1234" # BE ACCESSIBLE THROUGH LAN +myAPI="http://127.0.0.1:5001" myDATA="https://data.gchange.fr" myGCHANGE="https://www.gchange.fr" myCESIUM="https://g1.data.e-is.pro" -myG1BILLET="http://${myIP}:33101" +myG1BILLET="http://127.0.0.1:33101" myHOST="$(myHostName)" myIPFSW="http://$(hostname).local:8080" ## ipfs.localhost (IP works better in LAN deported desktop), but not in docker. -myIPFS="http://${myIP}:8080" ## ipfs.localhost (IP works better in LAN deported desktop), but not in docker. +myIPFS="http://127.0.0.1:8080" ## ipfs.localhost (IP works better in LAN deported desktop), but not in docker. myIPFSGW="$(myIpfsGw)" myTUBE="$(myTube)" myASTROTUBE="https://$(myAstroTube)"