Move Makefile target downloads to HTTPS

This commit is contained in:
Taylor Helsper 2022-01-13 22:18:34 -06:00
parent 8638945de2
commit cffa560384
2 changed files with 6 additions and 6 deletions

View File

@ -39,19 +39,19 @@ download_linux_images: out/linux_images/raspi_raspbian.zip out/linux_images/rasp
# Download base myNode images
out/base_images/raspi3_base.img.gz:
@mkdir -p out/base_images/
@wget http://mynodebtc.com/device/mynode_images/raspi3_base.img.gz -O out/base_images/raspi3_base.img.gz
@wget https://mynodebtc.com/device/mynode_images/raspi3_base.img.gz -O out/base_images/raspi3_base.img.gz
out/base_images/raspi4_base.img.gz:
@mkdir -p out/base_images/
@wget http://mynodebtc.com/device/mynode_images/raspi4_base.img.gz -O out/base_images/raspi4_base.img.gz
@wget https://mynodebtc.com/device/mynode_images/raspi4_base.img.gz -O out/base_images/raspi4_base.img.gz
out/base_images/rock64_base.img.gz:
@mkdir -p out/base_images/
@wget http://mynodebtc.com/device/mynode_images/rock64_base.img.gz -O out/base_images/rock64_base.img.gz
@wget https://mynodebtc.com/device/mynode_images/rock64_base.img.gz -O out/base_images/rock64_base.img.gz
out/base_images/rockpro64_base.img.gz:
@mkdir -p out/base_images/
@wget http://mynodebtc.com/device/mynode_images/rockpro64_base.img.gz -O out/base_images/rockpro64_base.img.gz
@wget https://mynodebtc.com/device/mynode_images/rockpro64_base.img.gz -O out/base_images/rockpro64_base.img.gz
out/base_images/debian_base.ova:
@mkdir -p out/base_images/
@wget http://mynodebtc.com/device/mynode_images/vm_base.ova -O out/base_images/debian_base.ova
@wget https://mynodebtc.com/device/mynode_images/vm_base.ova -O out/base_images/debian_base.ova

View File

@ -173,7 +173,7 @@ def update_price_info_thread():
def find_public_ip():
global public_ip
#urls = ["http://mynodebtc.com/device_api/get_public_ip.php"]
#urls = ["https://mynodebtc.com/device_api/get_public_ip.php"]
urls = ["https://api.ipify.org/","https://ip.seeip.org/","https://ip.seeip.org"]
url = random.choice(urls)