From c2441a943c93686b2a8797628bfca914923384ac Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 8 Apr 2022 03:14:24 +0200 Subject: [PATCH] todo, rewrite homepage --- crowdbunker.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crowdbunker.sh b/crowdbunker.sh index 70b22fc..83a2aa6 100755 --- a/crowdbunker.sh +++ b/crowdbunker.sh @@ -231,6 +231,9 @@ echo "########################################################################## ## FIRST PUBLISH index.html (REDIRECT) + history.json + ts mkdir -p /tmp/$VUID + cp ${MY_PATH}/templates/homepage.html /tmp/$VUID/index.html + cp ${MY_PATH}/templates/crowbunkerbox.png /tmp/$VUID/ + sed -i "s~_IPNSL_~$IPNSL~g" /tmp/$VUID/index.html cp ~/.zen/bunkerbox/history.json /tmp/$VUID/history.json echo "$TS" > /tmp/$VUID/ts # TimeStamping @@ -254,7 +257,7 @@ echo "########################################################################## # Could be redirect, or ... Your homepage is introduced there !! # echo "" > /tmp/$VUID/index.html # echo "" > /tmp/$VUID/index.html - cp ${MY_PATH}/templates/homepage.html > /tmp/$VUID/index.html + cp ${MY_PATH}/templates/homepage.html /tmp/$VUID/index.html cp ${MY_PATH}/templates/crowbunkerbox.png /tmp/$VUID/ sed -i "s~_IPNSL_~$IPNSL~g" /tmp/$VUID/index.html