mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-11 16:09:16 +00:00
Move Makefile target downloads to HTTPS
This commit is contained in:
parent
8638945de2
commit
cffa560384
10
Makefile
10
Makefile
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user