cat $HOMEPAGE >> $HOME/.zen/tmp/myIP.http.${MOATS}

This commit is contained in:
fred 2022-10-21 18:12:01 +02:00
parent b4d8202f1b
commit e9adb470d9
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ while true; do
echo "HTTP/1.1 200 Everything Is Just Fine
Server: Astroport
Content-Type: text/html; charset=UTF-8" > $HOME/.zen/tmp/myIP.http.${MOATS}
cat $HOMEPAGE $HOME/.zen/tmp/myIP.http.${MOATS} >> $HOME/.zen/tmp/myIP.http.${MOATS}
cat $HOMEPAGE >> $HOME/.zen/tmp/myIP.http.${MOATS}
else
# REPLACE myIP in http response template
sed "s~127.0.0.1:12345~$myIP:$PORT~g" $HOME/.zen/Astroport.ONE/templates/index.http > ~/.zen/tmp/myIP.http.${MOATS}