new backgrounds added : ipfs add -wr ~/.zen/Astroport.ONE/images/backgrounds/*

This commit is contained in:
fred 2022-11-06 13:03:23 +01:00
parent c37994ac58
commit 490631b674
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ sed -i "s~_IPFSNODEID_~${IPFSNODEID}~g" ~/.zen/tmp/coucou/${MOATS}.index.redirec
sed -i "s~_HOSTNAME_~$(hostname)~g" ~/.zen/tmp/coucou/${MOATS}.index.redirect
## Random Background image ;)
sed -i "s~.000.~.$(printf '%03d' $(echo ${RANDOM} % 15 | bc)).~g" ~/.zen/tmp/coucou/${MOATS}.index.redirect
sed -i "s~.000.~.$(printf '%03d' $(echo ${RANDOM} % 18 | bc)).~g" ~/.zen/tmp/coucou/${MOATS}.index.redirect
cat ~/.zen/tmp/coucou/${MOATS}.index.redirect | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &
end=`date +%s`

View File

@ -9,7 +9,7 @@
<style>
body {
background-image:url("http://127.0.0.1:8080/ipfs/Qmd4pK41zvUSfw4n7ox5eJeqoVPRJ6c2qNUWg5r7zxdYD3/background.000.jpg");
background-image:url("http://127.0.0.1:8080/ipfs/QmSFgatcq3q898J56epa8SyGbH651vRBFnv93kQSwfoi83/background.000.jpg");
background-repeat: no-repeat;
background-size: 100% 100%;
}