Use HTTPS URL.

This commit is contained in:
voussoir 2022-04-05 10:20:17 -07:00
parent f6f96b770d
commit 4609d45268
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
PixelCanvas.io downloader PixelCanvas.io downloader
========================= =========================
This utility lets you download the http://pixelcanvas.io bitmap and export regions of it to .png files. This utility lets you download the https://pixelcanvas.io bitmap and export regions of it to .png files.
## Requirements ## Requirements

View file

@ -154,7 +154,7 @@ def insert_chunks(chunks, commit=True):
# API FUNCTIONS # API FUNCTIONS
################################################################################ ################################################################################
def url_for_bigchunk(bigchunk_x, bigchunk_y): def url_for_bigchunk(bigchunk_x, bigchunk_y):
return f'http://pixelcanvas.io/api/bigchunk/{bigchunk_x}.{bigchunk_y}.bmp' return f'https://pixelcanvas.io/api/bigchunk/{bigchunk_x}.{bigchunk_y}.bmp'
def request(url): def request(url):
response = session.get(url) response = session.get(url)