mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-22 03:13:06 +00:00
Merge pull request #949 from LeonEstrak/fix_sprites_url
Fix: Sprites URL in GraphQL
This commit is contained in:
commit
ccf4c80198
1 changed files with 1 additions and 1 deletions
|
@ -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 = []
|
||||
|
|
Loading…
Reference in a new issue