todo, rewrite homepage

This commit is contained in:
fred 2022-04-08 03:14:24 +02:00
parent 7c8b965b80
commit c2441a943c
1 changed files with 4 additions and 1 deletions

View File

@ -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 "<meta http-equiv=\"refresh\" content=\"0;URL=$INDEX\">" > /tmp/$VUID/index.html
# echo "<meta http-equiv=\"refresh\" content=\"0;URL=$INDEX\">" > /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