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
#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

View File

@ -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)"

View File

@ -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)
}