From aabe8c01f6ad7e308125b56dbeb1627570ba4c87 Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 30 Jun 2023 01:46:15 +0200 Subject: [PATCH] LAN / WAN / ENV --- tools/jaklis/.env | 1 + tools/my.sh | 14 +++++++------- www/G1PalPay/index.html | 4 ++-- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/tools/jaklis/.env b/tools/jaklis/.env index ec8511e1..e83696e1 100644 --- a/tools/jaklis/.env +++ b/tools/jaklis/.env @@ -4,6 +4,7 @@ DUNIKEY=/.zen/game/players/.current/secret.dunikey # Noeud Duniter #NODE=https://g1.asycn.io/gva NODE=https://duniter.pini.fr/gva +NODE=https://g1.brussels.ovh/gva # https://ginspecte.mithril.re/service_types/1 # ??? NODE=https://g1.geragc.es/gva # ??? NODE=https:g1.cuates.net/gva diff --git a/tools/my.sh b/tools/my.sh index efb40a7b..fd99056b 100755 --- a/tools/my.sh +++ b/tools/my.sh @@ -392,16 +392,16 @@ myAstroTube() { IPFSNODEID="$(myIpfsPeerId)" [[ ! $MOATS ]] && MOATS="$(myDate)" isLAN="$(isLan)" -myASTROPORT="http://$(myIp):1234" -myASTRONEF="http://astroport.localhost:1234" -myAPI="http://$(myIp):5001" +myASTROPORT="http://127.0.0.1:1234" +myASTRONEF="http://127.0.0.1:1234" +myAPI="http://127.0.0.1:5001" myDATA="https://data.gchange.fr" myGCHANGE="https://www.gchange.fr" -myCESIUM="https://g1.data.le-sou.org" -myG1BILLET="http://g1billet.localhost:33101" +myCESIUM="https://g1.data.e-is.pro" +myG1BILLET="http://127.0.0.1:33101" myHOST="$(myHostName)" -myIP="$(myIp)" -myIPFS="http://ipfs.localhost:8080" +myIP="127.0.0.1" +myIPFS="http://127.0.0.1:8080" myIPFSGW="$(myIpfsGw)" myTUBE="$(myTube)" myASTROTUBE="https://$(myAstroTube)" diff --git a/www/G1PalPay/index.html b/www/G1PalPay/index.html index 8c67af36..3227a22a 100644 --- a/www/G1PalPay/index.html +++ b/www/G1PalPay/index.html @@ -247,7 +247,7 @@ a { if ( appname == 'login') { homeAstroportStation(myU, 'tab', 5000) } else { - homeAstroportStation(myU, 'aframe', 10000) + homeAstroportStation(myU, 'aframe', 12000) } } else { @@ -257,7 +257,7 @@ a { // document.getElementById("resu").innerHTML = content; var myU = 'http://astroport.localhost:1234/?qrcode=' + content; console.log(myU); - homeAstroportStation(myU, 'aframe', 10000) + homeAstroportStation(myU, 'aframe', 12000) }