target="me"

This commit is contained in:
fred 2023-01-12 23:58:06 +01:00
parent 7c1409e810
commit 41883ccc6f
2 changed files with 5 additions and 2 deletions

View File

@ -187,7 +187,7 @@ for PLAYER in ${PLAYERONE[@]}; do
# cp -f ~/.zen/game/players/${PLAYER}/ipfs/${FPLAYER}.rss.json ~/.zen/game/players/$PLAYER/FRIENDS/${FPLAYER}.rss.json
[[ -d ~/.zen/game/players/$PLAYER/FRIENDS ]] \
&& cat ${MY_PATH}/../www/iframe.html | sed "s~_ME_~${myIPFS}/ipns/${ASTRONAUTENS}~g" | sed "s~_IFRIENDHEAD_~${IFRIENDHEAD}~g" > ~/.zen/game/players/$PLAYER/FRIENDS/index.html
&& cat ${MY_PATH}/../www/iframe.html | sed "s~_ME_~/ipns/${ASTRONAUTENS}~g" | sed "s~_IFRIENDHEAD_~${IFRIENDHEAD}~g" > ~/.zen/game/players/$PLAYER/FRIENDS/index.html
[[ -s ~/.zen/game/players/$PLAYER/FRIENDS/index.html ]] \
&& FRAME=$(ipfs add -Hq ~/.zen/game/players/$PLAYER/FRIENDS/index.html | tail -n 1) \
@ -204,6 +204,9 @@ if [[ -d ~/.zen/tmp/${IPFSNODEID} ]]; then
## Merge actual online version
ipfs get -o ~/.zen/tmp/${IPFSNODEID} /ipns/${IPFSNODEID}/
## MAP CACHE CLEANING
rm -f ~/.zen/tmp/${IPFSNODEID}/*TW.json
############################################
NSIZE=$(du -b ~/.zen/tmp/${IPFSNODEID} | tail -n 1 | cut -f 1)
[[ $BSIZE != $NSIZE ]] \

View File

@ -127,7 +127,7 @@ h1, p {
<header class="header">
<h1>Astroport.ONE</h1>
<a target="you" href="_ME_">MOA</a> : _IFRIENDHEAD_
<a target="me" href="_ME_">MOA</a> : _IFRIENDHEAD_
</header>
<div class="row">