LAN / WAN / ENV

This commit is contained in:
fred 2023-06-30 01:46:15 +02:00
parent 01b860d8cf
commit aabe8c01f6
3 changed files with 10 additions and 9 deletions

View File

@ -4,6 +4,7 @@ DUNIKEY=/.zen/game/players/.current/secret.dunikey
# Noeud Duniter # Noeud Duniter
#NODE=https://g1.asycn.io/gva #NODE=https://g1.asycn.io/gva
NODE=https://duniter.pini.fr/gva NODE=https://duniter.pini.fr/gva
NODE=https://g1.brussels.ovh/gva
# https://ginspecte.mithril.re/service_types/1 # https://ginspecte.mithril.re/service_types/1
# ??? NODE=https://g1.geragc.es/gva # ??? NODE=https://g1.geragc.es/gva
# ??? NODE=https:g1.cuates.net/gva # ??? NODE=https:g1.cuates.net/gva

View File

@ -392,16 +392,16 @@ myAstroTube() {
IPFSNODEID="$(myIpfsPeerId)" IPFSNODEID="$(myIpfsPeerId)"
[[ ! $MOATS ]] && MOATS="$(myDate)" [[ ! $MOATS ]] && MOATS="$(myDate)"
isLAN="$(isLan)" isLAN="$(isLan)"
myASTROPORT="http://$(myIp):1234" myASTROPORT="http://127.0.0.1:1234"
myASTRONEF="http://astroport.localhost:1234" myASTRONEF="http://127.0.0.1:1234"
myAPI="http://$(myIp):5001" myAPI="http://127.0.0.1:5001"
myDATA="https://data.gchange.fr" myDATA="https://data.gchange.fr"
myGCHANGE="https://www.gchange.fr" myGCHANGE="https://www.gchange.fr"
myCESIUM="https://g1.data.le-sou.org" myCESIUM="https://g1.data.e-is.pro"
myG1BILLET="http://g1billet.localhost:33101" myG1BILLET="http://127.0.0.1:33101"
myHOST="$(myHostName)" myHOST="$(myHostName)"
myIP="$(myIp)" myIP="127.0.0.1"
myIPFS="http://ipfs.localhost:8080" myIPFS="http://127.0.0.1:8080"
myIPFSGW="$(myIpfsGw)" myIPFSGW="$(myIpfsGw)"
myTUBE="$(myTube)" myTUBE="$(myTube)"
myASTROTUBE="https://$(myAstroTube)" myASTROTUBE="https://$(myAstroTube)"

View File

@ -247,7 +247,7 @@ a {
if ( appname == 'login') { if ( appname == 'login') {
homeAstroportStation(myU, 'tab', 5000) homeAstroportStation(myU, 'tab', 5000)
} else { } else {
homeAstroportStation(myU, 'aframe', 10000) homeAstroportStation(myU, 'aframe', 12000)
} }
} else { } else {
@ -257,7 +257,7 @@ a {
// document.getElementById("resu").innerHTML = content; // document.getElementById("resu").innerHTML = content;
var myU = 'http://astroport.localhost:1234/?qrcode=' + content; var myU = 'http://astroport.localhost:1234/?qrcode=' + content;
console.log(myU); console.log(myU);
homeAstroportStation(myU, 'aframe', 10000) homeAstroportStation(myU, 'aframe', 12000)
} }