WRITE INTO 12345 SWARM CACHE LAYER
This commit is contained in:
parent
7674062569
commit
43fe8ac749
|
@ -159,7 +159,6 @@ cp ~/.zen/tmp/${PASS}##/G1Visa.${PASS}.jpg ~/.zen/tmp/${MOATS}/G1Visa.${EMAIL}.j
|
|||
cp -f ~/.zen/tmp/${PASS}##/${PASS}.jpg ~/.zen/tmp/${MOATS}/G1Card.${EMAIL}.jpg
|
||||
ls ~/.zen/tmp/${MOATS}/
|
||||
|
||||
|
||||
### CREATE A G1VISA FOR PLAYER (IF PASS WAS GIVEN AND NO TW EXISTS YET)
|
||||
if [[ ! -f ~/.zen/tmp/${MOATS}/TW/${EMAIL}/index.html ]]; then
|
||||
## Create a redirection to PLAYER (EMAIL/PASS) TW
|
||||
|
@ -219,6 +218,12 @@ echo "${HPASS}" > ~/.zen/tmp/${MOATS}/${G1PUB}/_${EMAIL}.HPASS
|
|||
&& echo "${MOATS}" > ~/.zen/tmp/${MOATS}/${G1PUB}/_moats \
|
||||
&& IPFSROOT=$(ipfs add -rwHq ~/.zen/tmp/${MOATS}/* | tail -n 1) && echo "ROOT was ${ZCHAIN}"
|
||||
|
||||
################################################################################
|
||||
## WRITE INTO 12345 SWARM CACHE LAYER
|
||||
mkdir -p ~/.zen/tmp/${IPFSNODEID}/UPLANET/_${LAT}_${LON}/
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; url='/ipns/${UMAPNS}'\" />" > ~/.zen/tmp/${IPFSNODEID}/UPLANET/_${LAT}_${LON}/index.html
|
||||
echo "${EMAIL}:${IPFSROOT}:${MOATS}" >> ~/.zen/tmp/${IPFSNODEID}/UPLANET/_${LAT}_${LON}/_visitors
|
||||
########################################
|
||||
########################################
|
||||
echo "Now IPFSROOT is http://ipfs.localhost:8080/ipfs/${IPFSROOT}"
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ header {
|
|||
|
||||
<form id="formlink" action = "http://127.0.0.1:1234" method = "GET" enctype="application/x-www-form-urlencoded">
|
||||
|
||||
<h1><span>UPlanet</span>
|
||||
<h1>U<span>Planet</span>
|
||||
<br><span>(<a href="https://qo-op.com">qo-op</a>)<a id="myLink" href="https://qo-op.com">*</a></span></h1>
|
||||
|
||||
<span>Email : </span><input name=uplanet value=''></br>
|
||||
|
@ -87,7 +87,7 @@ header {
|
|||
</form>
|
||||
|
||||
<br>
|
||||
<span>Astroport <a href="https://pad.p2p.legal/s/Astroport.ONE">Ŋ1</a> - Crypto Commons Playground -</span>
|
||||
<span><a href="https://github.com/papiche/Astroport.ONE">Astroport.ONE</a> - Crypto Commons Playground -</span>
|
||||
<h2>
|
||||
|
||||
<form method='get' action='http://g1billet.localhost:33101' target='aframe'>
|
||||
|
|
Loading…
Reference in New Issue