From f6f96b770d28cc4075f0ad0ae5566b1cacf126de Mon Sep 17 00:00:00 2001 From: Sky Velleity Date: Wed, 6 Apr 2022 02:53:31 +1000 Subject: [PATCH] Updated API address to match current scheme from pixelcanvas.io --- pixelcanvas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixelcanvas.py b/pixelcanvas.py index 9e94b23..e9ee45f 100644 --- a/pixelcanvas.py +++ b/pixelcanvas.py @@ -154,7 +154,7 @@ def insert_chunks(chunks, commit=True): # API FUNCTIONS ################################################################################ def url_for_bigchunk(bigchunk_x, bigchunk_y): - return f'http://api.pixelcanvas.io/api/bigchunk/{bigchunk_x}.{bigchunk_y}.bmp' + return f'http://pixelcanvas.io/api/bigchunk/{bigchunk_x}.{bigchunk_y}.bmp' def request(url): response = session.get(url)