diff --git a/12345.sh b/12345.sh index 3773b45a..272091f8 100755 --- a/12345.sh +++ b/12345.sh @@ -147,6 +147,8 @@ cat ~/.zen/tmp/123/${MOATS}.messaging.json >> ~/.zen/tmp/123/${MOATS}.index.redi [[ "$TYPE" == "g1pub" ]] && sed "s~_TWLINK_~https://www.gchange.fr/#/app/user/$G1PUB/~g" ~/.zen/Astroport.ONE/templates/index.redirect > ~/.zen/tmp/123/${MOATS}.index.redirect [[ ! -f ~/.zen/tmp/123/${MOATS}.index.redirect ]] && sed "s~_TWLINK_~http://$myIP:8080/ipns/$GNS~g" ~/.zen/Astroport.ONE/templates/index.redirect > ~/.zen/tmp/123/${MOATS}.index.redirect + ## TODO PATCH _SECRET_ myIP STUFF + ## RESPONDING cat ~/.zen/tmp/123/${MOATS}.index.redirect | nc -l -p ${PORT} -q 1 & echo "HTTP 1.1 PROTOCOL DOCUMENT READY ~/.zen/tmp/123/${MOATS}.index.redirect" diff --git a/templates/index.http b/templates/index.http index 5f23b836..998038a8 100644 --- a/templates/index.http +++ b/templates/index.http @@ -8,16 +8,16 @@ Content-Type: text/html; charset=UTF-8

ASTROPORT Ŋ1

- -

Recherche TW Astronaute

+Astronaute... préparation de votre port d'arrimage
+