From c4748f5be94f228be8fdc1d4937250567871848a Mon Sep 17 00:00:00 2001 From: LeonEstrak Date: Wed, 1 Nov 2023 14:25:40 +0530 Subject: [PATCH] Fix: Sprites URL in GraphQL Signed-off-by: LeonEstrak --- data/v2/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/v2/build.py b/data/v2/build.py index 9818c759..e59baebd 100644 --- a/data/v2/build.py +++ b/data/v2/build.py @@ -31,7 +31,7 @@ DB_VENDOR = connection.vendor MEDIA_DIR = "{prefix}{{file_name}}".format( - prefix=os.environ.get("POKEAPI_SPRITES_PREFIX", "/media/sprites/") + prefix=os.environ.get("POKEAPI_SPRITES_PREFIX", "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/") ) IMAGE_DIR = os.getcwd() + "/data/v2/sprites/sprites/" RESOURCE_IMAGES = []