This commit is contained in:
fred 2022-10-21 18:28:35 +02:00
parent 7f4067e10f
commit 87a8dc8285
2 changed files with 2 additions and 1 deletions

View File

@ -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}

View File

@ -1,6 +1,7 @@
HTTP/1.1 200 Everything Is Just Fine
Server: Astroport
Content-Type: text/html; charset=UTF-8
<!doctype html>
<html>
<head>