Do not use Wish credential (G1 prefixed Pepper) in salt API
parent
4ffc937304
commit
cb335842ca
|
@ -32,7 +32,7 @@ Content-Type: text/html; charset=UTF-8
|
|||
echo ">>>>>>>>>>>>>> Application LaBureautique >><< APPNAME = $APPNAME <<<<<<<<<<<<<<<<<<<<"
|
||||
|
||||
[[ ! $SALT ]] && (echo "$HTTPCORS ERROR - SALT MISSING" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && exit 1
|
||||
[[ ! $PEPPER ]] && (echo "$HTTPCORS ERROR - PEPPER MISSING" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && exit 1
|
||||
[[ ! $PEPPER || ${PEPPER:0:2} == "G1" ]] && (echo "$HTTPCORS ERROR - BAD OR PEPPER MISSING" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && exit 1
|
||||
|
||||
## SAVE "salt" "pepper" DEBUG REMOVE OR PASS ENCRYPT FOR SECURITY REASON
|
||||
echo "PLAYER : \"$SALT\" \"$PEPPER\" : $APPNAME ($WHAT)"
|
||||
|
|
|
@ -37,7 +37,10 @@ header {
|
|||
width: 18%;
|
||||
visibility: hidden;
|
||||
}
|
||||
#login {visibility: hidden; right: 10%;}
|
||||
#login {
|
||||
right: 10%;
|
||||
top: 5%
|
||||
}
|
||||
</style>
|
||||
<!-- Typed text animation -->
|
||||
<script src="http://127.0.0.1:8080/ipfs/QmYyJmAT3cUbjk4vVWQG7LdpY3HkFH9phFD1VzzetHrgpa"></script>
|
||||
|
@ -47,11 +50,12 @@ header {
|
|||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div id="login"><button onclick="promptUser('login')">LOGIN</button><button onclick="promptUser('logout')">LOGOUT</button></div>
|
||||
|
||||
<h6>
|
||||
<p id="station"> ♥<span>BOX <div id='countdown'></div></span></p>
|
||||
<div>
|
||||
<button onclick="homeAstroportStation('/?qrcode=station', '', 19654)">Open Station</button>
|
||||
<div id="login"><button onclick="promptUser('login')">LOGIN</button><button onclick="promptUser('logout')">LOGOUT</button></div>
|
||||
</div>
|
||||
<span><div id="ainfo"></div></span>
|
||||
<div id="debug"></div>
|
||||
|
|
|
@ -199,7 +199,7 @@ a {
|
|||
document.getElementById("resu").innerHTML = content;
|
||||
var myU = 'http://astroport.localhost:1234/?qrcode=' + content;
|
||||
console.log(myU);
|
||||
homeAstroportStation(myU, 'aframe', 5000)
|
||||
homeAstroportStation(myU, 'aframe', 10000)
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue