From 53c94b85a55b4af32823e175bda1d28c9560aa0d Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 25 Oct 2022 15:02:18 +0200 Subject: [PATCH] push --- 12345.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/12345.sh b/12345.sh index e75e8911..36a51bf2 100755 --- a/12345.sh +++ b/12345.sh @@ -154,7 +154,7 @@ cat ~/.zen/tmp/123/${MOATS}.messaging.json >> ~/.zen/tmp/123/${MOATS}.index.redi TWIP=$myIP # OFFICIAL Gateway ( increase waiting time ) - MORE SECURE if [[ $TYPE="official" ]]; then - ipfs --timeout 3s cat /ipns/$GNS > ~/.zen/tmp/123/${MOATS}.astroindex.html + ipfs --timeout 6s cat /ipns/$GNS > ~/.zen/tmp/123/${MOATS}.astroindex.html && echo "LATEST TW: ~/.zen/tmp/123/${MOATS}.astroindex.html" [[ ! -s ~/.zen/tmp/123/${MOATS}.astroindex.html ]] && tiddlywiki --load ~/.zen/tmp/123/${MOATS}.astroindex.html --output ~/.zen/tmp --render '.' 'miz.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' 'MadeInZion' OLDIP=$(cat ~/.zen/tmp/miz.json | jq -r .[].secret) && [[ ! $OLDIP ]] && echo "+x+x+x+x+x+ SECRET IP ERROR - BAD TW - CONTINUE " && continue # FIRST TIME PLAYER TW USING GATEWAY