2
0
Fork 0
mirror of https://github.com/PokeAPI/pokeapi synced 2025-03-02 14:07:12 +00:00

Fix: Sprites URL in GraphQL

Signed-off-by: LeonEstrak <aniket2583@gmail.com>
This commit is contained in:
LeonEstrak 2023-11-01 14:25:40 +05:30
parent f7e87abc70
commit c4748f5be9
No known key found for this signature in database
GPG key ID: 6BAA4F2F49FB128B

View file

@ -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 = []