ipfs cat $TWMODEL > templates/twdefault.html

This commit is contained in:
fred 2023-12-31 03:12:26 +01:00
parent 4fad876f66
commit abe8acf479
5 changed files with 13 additions and 8 deletions

View File

@ -223,6 +223,7 @@ for SECTOR in ${SECTORS[@]}; do
-e "s~QmYdWBx32dP14XcbXF7hhtDq7Uu6jFmDaRnuL5t7ARPYkW/index_fichiers/world.js~${IAMAP}/world.js~g" \
-e "s~_ZONENS_~${SECTORNS}/_index.html~g" \
-e "s~_UPZONENS_~${REGIONNS}~g" \
-e "s~_UPLANETLINK_~${EARTHCID}/map_render.html?southWestLat=${LAT}&southWestLon=${LON}&deg=0.1~g" \
-e "s~http://127.0.0.1:8080~~g" \
> ~/.zen/tmp/${MOATS}/${SECTOR}/_index.html

View File

@ -320,6 +320,7 @@ echo "<meta http-equiv=\"refresh\" content=\"0; url='/ipfs/${ZCHAIN}' />" > ~/.z
-e "s~QmYdWBx32dP14XcbXF7hhtDq7Uu6jFmDaRnuL5t7ARPYkW/index_fichiers/world.js~${IAMAP}/world.js~g" \
-e "s~_ZONENS_~${UMAPNS}~g" \
-e "s~_UPZONENS_~${SECTORNS}~g" \
-e "s~_UPLANETLINK_~${EARTHCID}/map_render.html?southWestLat=${LAT}&southWestLon=${LON}&deg=0.01~g" \
-e "s~http://127.0.0.1:8080~~g" \
> ~/.zen/tmp/${MOATS}/${UMAP}/_index.html

View File

@ -33,7 +33,7 @@ LIBRA=$(head -n 2 ${MY_PATH}/../A_boostrap_nodes.txt | tail -n 1 | cut -d ' ' -f
################################################################################
## LIST TW MODELS
################################################################################
TWMODEL="/ipfs/QmPr5SpFiaTVyjJuBmhyckwSCP1gHbhJbZFjC5YyxNHmJa"
TWMODEL="/ipfs/bafybeidmsj35mnsij5kop3vv7yz2ubybzqpw2jpa5tgo4uzi5cps52kniy"
# ipfs cat $TWMODEL > templates/twdefault.html
MINIMAL="/ipfs/bafybeici3sdhyf5mw5edbhednqyzfbfbilaykjke6ve6zqac6hrxjawzgi"
# ipfs cat $MINIMAL > templates/minimal.html

View File

@ -145,7 +145,7 @@ iframe {
<br>
<h1>_ZONE_</h1>
<p><a href="https://qo-op.com">"UPlanet"</a></p>
<p><a href="_UPLANETLINK_">"UPlanet"</a></p>
<p><a href="http://127.0.0.1:8080/ipns/_UPZONENS_">"_UPZONE_"</a></p>
<p><a href="http://127.0.0.1:8080/ipns/_ZONENS_">"_ZONE_"</a></p>

File diff suppressed because one or more lines are too long