through redirect

This commit is contained in:
fred 2022-10-21 19:03:05 +02:00
parent cf2099dbe4
commit ef9426f02e
1 changed files with 3 additions and 3 deletions

View File

@ -70,9 +70,9 @@ while true; do
GNS=$(ipfs key import gchange -f pem-pkcs8-cleartext ~/.zen/tmp/gchange.key )
echo "$GNS is AVAILABLE on http://$myIP:${PORT}"
# sed "s~_TWLINK_~$GNS~g" ~/.zen/Astroport.ONE/templates/index.redirect > ~/.zen/tmp/index.redirect.${MOATS}
# cat ~/.zen/tmp/index.redirect.${MOATS} | nc -l -p ${PORT} -q 1 &
echo $GNS | nc -l -p ${PORT} -q 1 &
sed "s~_TWLINK_~$GNS~g" ~/.zen/Astroport.ONE/templates/index.redirect > ~/.zen/tmp/index.redirect.${MOATS}
cat ~/.zen/tmp/index.redirect.${MOATS} | nc -l -p ${PORT} -q 1 &
#echo "$GNS" | nc -l -p ${PORT} -q 1 &
## CHECK IF ALREADY EXISTING PLAYER
# IF NOT = BATCH CREATE TW