forked from axiom-team/jaklis
Replace NODE and POD envvar with DUNITER and ESNODE, like g1stats
This commit is contained in:
parent
9117def4b9
commit
ec7fcdfb45
|
@ -2,11 +2,11 @@
|
||||||
DUNIKEY=
|
DUNIKEY=
|
||||||
|
|
||||||
# Noeud Duniter
|
# Noeud Duniter
|
||||||
NODE=https://duniter-g1.p2p.legal/gva
|
DUNITER=https://duniter-g1.p2p.legal/gva
|
||||||
|
|
||||||
# Adresse du pod Cesium ou Gchange à utiliser
|
# Adresse du pod Cesium ou Gchange à utiliser
|
||||||
POD="https://g1.data.e-is.pro"
|
ESNODE="https://g1.data.e-is.pro"
|
||||||
#POD="https://g1.data.adn.life"
|
#ESNODE="https://g1.data.adn.life"
|
||||||
#POD=https://g1.data.le-sou.org
|
#ESNODE=https://g1.data.le-sou.org
|
||||||
#POD=https://g1.data.duniter.fr
|
#ESNODE=https://g1.data.duniter.fr
|
||||||
#POD=https://data.gchange.fr
|
#ESNODE=https://data.gchange.fr
|
||||||
|
|
|
@ -17,11 +17,11 @@ dotenv_path = join(dirname(__file__),MY_PATH + '.env')
|
||||||
load_dotenv(dotenv_path)
|
load_dotenv(dotenv_path)
|
||||||
|
|
||||||
# Set global values (default parameters) , regarding variables environments
|
# Set global values (default parameters) , regarding variables environments
|
||||||
node = os.getenv('NODE')
|
node = os.getenv('DUNITER') + '/gva'
|
||||||
if not node:
|
if not node:
|
||||||
node="https://duniter-g1.p2p.legal/gva"
|
node="https://duniter-g1.p2p.legal/gva"
|
||||||
|
|
||||||
pod = os.getenv('POD')
|
pod = os.getenv('ESNODE')
|
||||||
if not pod:
|
if not pod:
|
||||||
pod="https://g1.data.e-is.pro"
|
pod="https://g1.data.e-is.pro"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue