From d8c206fd36fe370358c5ea827521acfa20bfb98b Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 13 Mar 2023 05:14:51 +0100 Subject: [PATCH] late push --- API/SALT.sh | 9 ++++++++- templates/register.html | 2 +- tools/make_image_ipfs_index_carousel.sh | 5 +++-- www/G1PalPay/index.html | 18 ++++++------------ 4 files changed, 18 insertions(+), 16 deletions(-) diff --git a/API/SALT.sh b/API/SALT.sh index 6abd33f9..cc1bae45 100755 --- a/API/SALT.sh +++ b/API/SALT.sh @@ -439,7 +439,14 @@ echo "" > ~/.zen/tmp/.ipfsgw.bad.twt # TODO move in 20h12.sh fi echo ${REP} - echo "$HTTPCORS ${REP}"| nc -l -p ${PORT} -q 1 > /dev/null 2>&1 & + + REPLACE=${myASTROPORT}/ipns/$(ipfs key list -l | grep $PLAYER | cut -d ' ' -f1) + + sed "s~_TWLINK_~${REPLACE}~g" ~/.zen/Astroport.ONE/templates/index.302 > ~/.zen/tmp/coucou/${MOATS}.index.redirect + echo "url='"${REPLACE}"'" >> ~/.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` echo $APPNAME "(☉_☉ ) Execution time was "`expr $end - $start` seconds. exit 0 diff --git a/templates/register.html b/templates/register.html index 462194fe..eb9b3c66 100644 --- a/templates/register.html +++ b/templates/register.html @@ -49,7 +49,7 @@ header {

BOX

- +
diff --git a/tools/make_image_ipfs_index_carousel.sh b/tools/make_image_ipfs_index_carousel.sh index 954b2228..6bbe7856 100755 --- a/tools/make_image_ipfs_index_carousel.sh +++ b/tools/make_image_ipfs_index_carousel.sh @@ -31,8 +31,9 @@ if [[ ! -d $img_dir ]]; then ## WRITE ON IT : ASK FOR REFILL convert -font 'Liberation-Sans' \ - -pointsize 80 -fill black -draw 'text 150,150 "'"$COINS"'"' \ - "${HOME}/.zen/tmp/carousel/${pub}.one.png" "${HOME}/.zen/tmp/carousel/${pub}.png" + -pointsize 80 -fill black -draw 'text 150,150 "'"$COINS Ğ1"'"' \ + "${HOME}/.zen/tmp/carousel/${pub}.one.png" "${HOME}/.zen/tmp/carousel/${pub}.png" \ + && rm ${HOME}/.zen/tmp/carousel/${pub}.one.png ## PREPARE LOOP LINK LINE ASTRONAUTENS=$(cat ~/.zen/game/players/${PLAYER}/.playerns) diff --git a/www/G1PalPay/index.html b/www/G1PalPay/index.html index 2780bd78..43933843 100644 --- a/www/G1PalPay/index.html +++ b/www/G1PalPay/index.html @@ -100,24 +100,18 @@ a {
-

♥Box (Ğ1) Station

-

Pourquoi attendre la Retraite ? Oubliez la crise...

-

Rechargez-votre portefeuille ou Ğ1BILLET.

+

(Ğ1) ♥Box Station

+

Oubliez la crise... N'attendez plus la Retraite ?

+

Passez à la Monnaie Libre. Refaites le monde d'égale à égal.

-

-

-

+

Scannez QRCode

+

G1BILLET

+

ou "portefeuille" Cesium