From e9adb470d9389ca0459ba78a43904c9c8760a27b Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 21 Oct 2022 18:12:01 +0200 Subject: [PATCH] cat $HOMEPAGE >> $HOME/.zen/tmp/myIP.http.${MOATS} --- 12345.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/12345.sh b/12345.sh index f7ff36fe..d09968d1 100755 --- a/12345.sh +++ b/12345.sh @@ -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}