forked from qo-op/bunkerbox
welcome page change...
This commit is contained in:
parent
8f087b95a8
commit
7c8b965b80
|
@ -230,12 +230,6 @@ echo "##########################################################################
|
||||||
############################################
|
############################################
|
||||||
## FIRST PUBLISH index.html (REDIRECT) + history.json + ts
|
## FIRST PUBLISH index.html (REDIRECT) + history.json + ts
|
||||||
mkdir -p /tmp/$VUID
|
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
|
cp ~/.zen/bunkerbox/history.json /tmp/$VUID/history.json
|
||||||
echo "$TS" > /tmp/$VUID/ts # TimeStamping
|
echo "$TS" > /tmp/$VUID/ts # TimeStamping
|
||||||
|
@ -256,7 +250,14 @@ echo "##########################################################################
|
||||||
if [[ ! $InHere ]]; then
|
if [[ ! $InHere ]]; then
|
||||||
echo "NOUVELLE VIDEO."
|
echo "NOUVELLE VIDEO."
|
||||||
mkdir -p /tmp/$VUID
|
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
|
||||||
|
# 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
|
cp ~/.zen/bunkerbox/history.json /tmp/$VUID/history.json
|
||||||
echo "$TS" > /tmp/$VUID/ts # TimeStamping
|
echo "$TS" > /tmp/$VUID/ts # TimeStamping
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue