ZONE DE LIVRAISON

This commit is contained in:
fred 2022-10-31 00:49:36 +01:00
parent 223c430e6e
commit e5fd4d325c
2 changed files with 3 additions and 4 deletions

View File

@ -12,12 +12,10 @@ ME="${0##*/}"
# Run TAG subprocess: tube, voeu
############################################
echo "## RUNNING PLAYER.refresh"
rm ~/.zen/game/astronautes.txt
rm ~/.zen/game/players/.current
## RUNING FOR ALL LOCAL PLAYERS
for PLAYER in $(ls ~/.zen/game/players/); do
[[ $PLAYER == '.current' ]] && continue
echo "##################################################################"
echo ">>>>> PLAYER : $PLAYER"
echo "##################################################################"
@ -91,6 +89,7 @@ for PLAYER in $(ls ~/.zen/game/players/); do
####################
# LOCKING TW : myIP becomes _SECRET_
sed -i "s~${myIP}~_SECRET_~g" ~/.zen/tmp/astro/index.html
####################
## ANY CHANGES ?
##############################################################

View File

@ -43,7 +43,7 @@ Content-Type: text/html; charset=UTF-8
</p>
<div id="yellow">
<h3><a href="http://127.0.0.1:12345"> >>> CLIQUEZ WEB <<< </a></h3>
<h3><a href="http://127.0.0.1:12345"> >>> ZONE DE LIVRAISON <<< </a></h3>
</div>
<script>
const el = document.getElementById('yellow');