saltpepper.http homeAstroportStation URL replacement

This commit is contained in:
fred 2023-10-09 16:50:14 +02:00
parent ba748e85c1
commit 65e0e557ce
3 changed files with 5 additions and 4 deletions

View File

@ -102,7 +102,7 @@ header {
<main>
<center>
<form id="formlink" action = "http://127.0.0.1:1234" method = "GET" enctype="application/x-www-form-urlencoded">
<form id="formlink" action="http://127.0.0.1:1234" method="GET" enctype="application/x-www-form-urlencoded">
<h1><a href="/">U</a><span>Planet</span>
<br><span><a id="satLink" href="#" title="Sat">&nbsp;*&nbsp;</a>(<a href="https://ipfs.copylaradio.com/ipns/copylaradio.com">qo-op</a>)<a id="mapLink" href="#" title="Map">&nbsp;*&nbsp;</a></span></h1>

View File

@ -76,9 +76,9 @@ header {
<header>
<div>
<button onclick="homeAstroportStation('http://127.0.0.1:12345/?qrcode=station', '', 21654)">Ğ1Station</button>
<button onclick="homeAstroportStation('http://127.0.1.1:1234/?qrcode=station', '', 21654)">Ğ1Station</button>
</div>
<form id="formlink" action = "http://127.0.0.1:1234" method = "GET" enctype="application/x-www-form-urlencoded">
<form id="formlink" action="http://127.0.0.1:1234" method="GET" enctype="application/x-www-form-urlencoded">
<h1><span>Astroport</span> <a href="http://127.0.0.1:12345">Ŋ1</a></h1>
<div id="yellow">
<h2>G1Card SECRETS</h2>

View File

@ -121,7 +121,7 @@ myHName() {
}
zIp() {
zip=$(cat ~/.zen/♥Box | head -n 1 2>/dev/null)
zip=$(cat ~/.zen/♥Box 2>/dev/null | head -n 1 )
[ -n "$zip" ] && echo "$zip" || false
}
@ -378,6 +378,7 @@ mySalt() {
local mySalt=$($RUN sed \
-e "s~http://127.0.0.1:8080~${myIPFS}~g" \
-e "s~\"http://127.0.0.1:1234\"~\"${myASTROPORT}\"~g" \
-e "s~http://127.0.1.1:1234~${myASTROPORT}~g" \
-e "s~http://127.0.0.1:33101~http://${myHOST}:33101~g" \
-e "s~https://ipfs.copylaradio.com~${myIPFSGW}~g" \
-e "s~http://g1billet.localhost:33101~${myG1BILLET}~g" \