tiddlywiki & ipfs GW TIMEOUT
parent
d985f5b61b
commit
b272b899a6
2
12345.sh
2
12345.sh
|
@ -323,6 +323,8 @@ echo "" > ~/.zen/tmp/.ipfsgw.bad.twt # TODO move in 20h12.sh
|
|||
|
||||
fi
|
||||
|
||||
else
|
||||
|
||||
echo " (⇀‿‿↼) - TIMEOUT - (⇀‿‿↼)"
|
||||
continue
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ isLAN=$(echo $myIP | grep -E "/(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|(
|
|||
## FOUND TW
|
||||
#############################################################
|
||||
## CHECK IF myIP IS ACTUAL OFFICIAL GATEWAY
|
||||
tiddlywiki --load ~/.zen/tmp/coucou/${MOATS}.astroindex.html --output ~/.zen/tmp --render '.' 'miz.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' 'MadeInZion'
|
||||
tiddlywiki --load ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/index.html --output ~/.zen/tmp --render '.' 'miz.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' 'MadeInZion'
|
||||
SECRET=$(cat ~/.zen/tmp/miz.json | jq -r .[].secret)
|
||||
[[ ! $SECRET ]] && (echo "$HTTPCORS SECRET ERROR - SORRY - CANNOT CONTINUE " | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && echo "BAD SECRET (☓‿‿☓) Execution time was "`expr $(date +%s) - $start` seconds. && continue
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue