diff --git a/API/QRCODE.sh b/API/QRCODE.sh index 0b1a22d0..b3393072 100755 --- a/API/QRCODE.sh +++ b/API/QRCODE.sh @@ -130,6 +130,7 @@ if [[ ${QRCODE:0:5} == "~~~~~" ]]; then else ## history & read + echo "${MY_PATH}/../tools/jaklis/jaklis.py -k ~/.zen/tmp/${MOATS}/secret.key $APPNAME" ${MY_PATH}/../tools/timeout.sh -t 6 \ ${MY_PATH}/../tools/jaklis/jaklis.py -k ~/.zen/tmp/${MOATS}/secret.key $APPNAME 2>&1 >> ~/.zen/tmp/${MOATS}/disco diff --git a/www/G1PalPay/index.html b/www/G1PalPay/index.html index 5f98fe49..41d5f7a5 100644 --- a/www/G1PalPay/index.html +++ b/www/G1PalPay/index.html @@ -181,12 +181,17 @@ a { var mypub = "DsEx1pS33vzYZg4MroyBV9hCw98j1gtHEhwiZ5tK7ech" } var myU = 'http://astroport.localhost:1234/?qrcode=' + content +'&pass=' + pass + '&' + appname + '=' + amount + '&g1pub=' + mypub ; + console.log(myU); + homeAstroportStation(myU, 'aframe', 10000) + } else { document.getElementById("resu").innerHTML = content; var myU = 'http://astroport.localhost:1234/?qrcode=' + content; + console.log(myU); + homeAstroportStation(myU, 'aframe', 5000) } - console.log(myU); - homeAstroportStation(myU, 'aframe', 5000) + + // fetchAstroport(myU)