welcome page change...

This commit is contained in:
fred 2022-04-08 03:11:35 +02:00
parent 8f087b95a8
commit 7c8b965b80
1 changed files with 7 additions and 6 deletions

View File

@ -230,12 +230,6 @@ echo "##########################################################################
############################################
## FIRST PUBLISH index.html (REDIRECT) + history.json + ts
mkdir -p /tmp/$VUID
## This is the welcome page of your qo-op channel.
# Could be redirect, or ... Your homepage is introduced there !!
# 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/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
@ -256,7 +250,14 @@ echo "##########################################################################
if [[ ! $InHere ]]; then
echo "NOUVELLE VIDEO."
mkdir -p /tmp/$VUID
## This is the welcome page of your qo-op channel.
# 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/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