meta charset
This commit is contained in:
parent
5d675d9494
commit
a320cd1c1f
|
@ -81,7 +81,7 @@ Installez <a href='https://copylaradio.com'>astrXbian</a> pour rejoindre notre v
|
||||||
## CRYPTO EXAMPLE, use natools to decrypt (could also verify signature)
|
## CRYPTO EXAMPLE, use natools to decrypt (could also verify signature)
|
||||||
[[ -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"
|
||||||
cat /tmp/${id}_filelink.txt
|
cat /tmp/${id}_filelink.txt
|
||||||
echo "<meta http-equiv=\"Refresh\" content=\"0;URL=http://localhost:8181$(cat /tmp/${id}_filelink.txt)\">" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/index.html
|
echo "<meta charset=\"UTF-8\"><meta http-equiv=\"Refresh\" content=\"0;URL=http://127.0.0.1:8181$(cat /tmp/${id}_filelink.txt)\">" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/index.html
|
||||||
|
|
||||||
if [[ "$source" == "YOUTUBE" ]]
|
if [[ "$source" == "YOUTUBE" ]]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue