Merge pull request #949 from LeonEstrak/fix_sprites_url

Fix: Sprites URL in GraphQL
This commit is contained in:
Alessandro Pezzè 2023-11-06 08:25:52 +01:00 committed by GitHub
commit ccf4c80198
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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