debug
This commit is contained in:
parent
7f4067e10f
commit
87a8dc8285
2
12345.sh
2
12345.sh
|
@ -33,7 +33,7 @@ PORT=12345
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
echo "SERVING.............................. 1234 PORT"
|
echo "SERVING.............................. 1234 PORT"
|
||||||
echo "LANDING PAGE $myIP:$PORT"
|
echo "NEW LANDING PAGE http://$myIP:$PORT"
|
||||||
|
|
||||||
# REPLACE myIP in http response template
|
# 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}
|
sed "s~127.0.0.1:12345~$myIP:$PORT~g" $HOME/.zen/Astroport.ONE/templates/index.http > ~/.zen/tmp/myIP.http.${MOATS}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
HTTP/1.1 200 Everything Is Just Fine
|
HTTP/1.1 200 Everything Is Just Fine
|
||||||
Server: Astroport
|
Server: Astroport
|
||||||
Content-Type: text/html; charset=UTF-8
|
Content-Type: text/html; charset=UTF-8
|
||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
Loading…
Reference in New Issue