From 2cec42fa8e67a28f6630be782101e9c11c8335b0 Mon Sep 17 00:00:00 2001 From: fred Date: Sat, 1 Jul 2023 21:29:34 +0200 Subject: [PATCH] ${myIP} & more --- tools/my.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/my.sh b/tools/my.sh index fd99056b..f23119df 100755 --- a/tools/my.sh +++ b/tools/my.sh @@ -392,16 +392,16 @@ myAstroTube() { IPFSNODEID="$(myIpfsPeerId)" [[ ! $MOATS ]] && MOATS="$(myDate)" isLAN="$(isLan)" -myASTROPORT="http://127.0.0.1:1234" -myASTRONEF="http://127.0.0.1:1234" -myAPI="http://127.0.0.1:5001" +myASTROPORT="http://${myIP}:1234" +myASTRONEF="http://${myIP}:1234" +myAPI="http://${myIP}:5001" myDATA="https://data.gchange.fr" myGCHANGE="https://www.gchange.fr" myCESIUM="https://g1.data.e-is.pro" -myG1BILLET="http://127.0.0.1:33101" +myG1BILLET="http://${myIP}:33101" myHOST="$(myHostName)" -myIP="127.0.0.1" -myIPFS="http://127.0.0.1:8080" +myIP="${myIP}" # "127.0.0.1" +myIPFS="http://${myIP}:8080" myIPFSGW="$(myIpfsGw)" myTUBE="$(myTube)" myASTROTUBE="https://$(myAstroTube)"