LECTURE LOCALHOST
This commit is contained in:
parent
97f9f3511b
commit
ce4fd1bead
|
@ -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"
|
[[ -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)
|
# 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/${IPFSTUBELINK##*.}"
|
||||||
[[ "$MIMETYPE" == "video/avi" ]] && MIMETYPE="video/x-msvideo"
|
[[ "$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 ***
|
### 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}/\">
|
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>
|
<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>
|
<a href=\"$IPFSTUBELINK\">LECTURE LOCALHOST</a>! Lancement de la video dans 10 secondes ...<br>
|
||||||
Bonne démonstration du service Video Club du Datacenter P2P Libre et Légal.<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>
|
<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}/\">
|
<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
|
<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>
|
echo "<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>AstroCrowdBuster</title>
|
<title>$TITLE in Astroport</title>
|
||||||
<meta charset=\"UTF-8\">
|
<meta charset=\"UTF-8\">
|
||||||
<link rel='stylesheet' href='/crowdbunker.css' type='text/css' />
|
<link rel='stylesheet' href='/crowdbunker.css' type='text/css' />
|
||||||
<link rel='icon' type='image/png' href='/astrocrowdbunker.png' />
|
<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>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<h6>
|
<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>
|
</h6>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
|
|
Loading…
Reference in New Issue