mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
fix http export
This commit is contained in:
parent
3a29c2255e
commit
34414e8617
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ elif [ "${exportType}" = "http" ]; then
|
|||
sudo cp /home/bitcoin/.lnd/tls.cert ./${randomFolderName}/tls.cert
|
||||
cd ${randomFolderName}
|
||||
sudo chmod 444 *.*
|
||||
python3 -m SimpleHTTPServer ${randomPortNumber} 2>/dev/null
|
||||
python3 -m http.server ${randomPortNumber} 2>/dev/null
|
||||
sudo ufw delete allow from 192.168.0.0/16 to any port ${randomPortNumber} comment 'temp http server'
|
||||
cd ..
|
||||
sudo rm -r ${randomFolderName}
|
||||
|
|
Loading…
Add table
Reference in a new issue