LECTURE LOCALHOST

This commit is contained in:
qo-op 2021-06-16 02:44:57 +02:00
parent 97f9f3511b
commit ce4fd1bead
1 changed files with 5 additions and 5 deletions

View File

@ -77,7 +77,7 @@ do
[[ -f ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/.ipfs.filelink.natools.encrypt ]] && $MY_PATH/tools/natools.py decrypt -f pubsec -k "$HOME/.zen/secret.dunikey" -i "$HOME/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/.ipfs.filelink.natools.encrypt" -o "/tmp/${id}_filelink.txt"
# file=$(cat /tmp/${id}_filelink.txt | rev | cut -d '/' -f 1 | rev)
IPFSTUBELINK="https://tube.copylaradio.com$(cat /tmp/${id}_filelink.txt)"
IPFSTUBELINK="http://127.0.0.1:8181$(cat /tmp/${id}_filelink.txt)"
MIMETYPE="video/${IPFSTUBELINK##*.}"
[[ "$MIMETYPE" == "video/avi" ]] && MIMETYPE="video/x-msvideo"
@ -85,8 +85,8 @@ do
### This index.html is ipns link root, 1st welcome page for MEDIAKEY -> *** Redirect to CONTRACTS processing HERE ***
echo "<meta charset=\"UTF-8\"><meta http-equiv=\"Refresh\" content=\"10;URL=https://tube.copylaradio.com/ipns/$IPNSLINK/${G1PUB}/\">
<h1><a href='https://astroport.com'>ASTROPORT</a>/KODI</h1>
<a href=\"$IPFSTUBELINK\">LECTURE immédiate</a>! Lancement de la video dans 10 secondes ...<br>
Bonne démonstration du service Video Club du Datacenter P2P Libre et Légal.<br>
<a href=\"$IPFSTUBELINK\">LECTURE LOCALHOST</a>! Lancement de la video dans 10 secondes ...<br>
Démonstration du service Video Club du Datacenter P2P Libre et Légal.<br>
<h2>Essayez <a href='https://copylaradio.com'>astrXbian</a> BETA Live TEstNET</h2>
<br><br>Faites un DON au Media (${id}) ou son Auteur <a href=\"https://www.gchange.fr/#/app/user/${G1PUB}/\">
<img width=40 src=\"https://tube.copylaradio.com/ipns/$IPNSLINK/QR.png\"></a>" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/index.html
@ -109,7 +109,7 @@ Bonne démonstration du service Video Club du Datacenter P2P Libre et Légal.<br
echo "<!DOCTYPE html>
<html>
<head>
<title>AstroCrowdBuster</title>
<title>$TITLE in Astroport</title>
<meta charset=\"UTF-8\">
<link rel='stylesheet' href='/crowdbunker.css' type='text/css' />
<link rel='icon' type='image/png' href='/astrocrowdbunker.png' />
@ -117,7 +117,7 @@ Bonne démonstration du service Video Club du Datacenter P2P Libre et Légal.<br
<body>
<header>
<h6>
<a href='https://copylaradio.com'><span>Astroport</span> × <span>astrXbian DEMO</span></a>
<a href='https://copylaradio.com'><span>astrXbian</span> × <span> DEMO</span></a>
</h6>
</header>
<main>