From 87a8dc82852a7ffb8e711ce884a0b701928ef5bc Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 21 Oct 2022 18:28:35 +0200 Subject: [PATCH] debug --- 12345.sh | 2 +- templates/index.http | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/12345.sh b/12345.sh index 80f14771..361dd3a4 100755 --- a/12345.sh +++ b/12345.sh @@ -33,7 +33,7 @@ PORT=12345 while true; do echo "SERVING.............................. 1234 PORT" - echo "LANDING PAGE $myIP:$PORT" + echo "NEW LANDING PAGE http://$myIP:$PORT" # 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} diff --git a/templates/index.http b/templates/index.http index 82842042..ae0a1c67 100644 --- a/templates/index.http +++ b/templates/index.http @@ -1,6 +1,7 @@ HTTP/1.1 200 Everything Is Just Fine Server: Astroport Content-Type: text/html; charset=UTF-8 +