forked from qo-op/bunkerbox
todo, rewrite homepage
This commit is contained in:
parent
7c8b965b80
commit
c2441a943c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue