From ef9426f02ec9eb4bf4be5957047742e4d5420c9a Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 21 Oct 2022 19:03:05 +0200 Subject: [PATCH] through redirect --- 12345.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/12345.sh b/12345.sh index 2da279d3..72a9f2de 100755 --- a/12345.sh +++ b/12345.sh @@ -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