new template

This commit is contained in:
fred 2022-10-28 17:29:19 +02:00
parent 3369c931ef
commit b82c06114d
3 changed files with 51 additions and 36 deletions

View File

@ -51,7 +51,7 @@ while true; do
sed "s~127.0.0.1:12345~$myIP:$PORT~g" $HOME/.zen/Astroport.ONE/templates/index.http > ~/.zen/tmp/123/${MOATS}.myIP.http
sed -i "s~127.0.0.1~$myIP~g" ~/.zen/tmp/123/${MOATS}.myIP.http
sed -i "s~_IPFSNODEID_~${IPFSNODEID}~g" ~/.zen/tmp/123/${MOATS}.myIP.http ## NODE PUBLISH HOSTED WHAT'S JSON
sed -i "s~_HOSTNAME_~${hostname}~g" ~/.zen/tmp/123/${MOATS}.myIP.http ## HOSTNAME
sed -i "s~_HOSTNAME_~$(hostname)~g" ~/.zen/tmp/123/${MOATS}.myIP.http ## HOSTNAME
############################################################################
## WAITING TO SERVE 1ST LANDING REDIRECT PAGE

File diff suppressed because one or more lines are too long

View File

@ -174,7 +174,7 @@ if [ ! -f ~/.zen/tmp/TW.html ]; then
sed -i "s~G1Voeu~G1Visa~g" ~/.zen/game/players/$PLAYER/ipfs/moa/index.html
sed -i "s~Moa~${PLAYER}~g" ~/.zen/game/players/$PLAYER/ipfs/moa/index.html
sed -i "s~de Moa~de ${PLAYER}~g" ~/.zen/game/players/$PLAYER/ipfs/moa/index.html
ASTRONAUTENS=$(ipfs key list -l | grep -w "${PLAYER}" | cut -d ' ' -f 1)