Skip to content

Commit ccf4c80

Browse files
authored
Merge pull request #949 from LeonEstrak/fix_sprites_url
Fix: Sprites URL in GraphQL
2 parents f7e87ab + c4748f5 commit ccf4c80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/v2/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232

3333
MEDIA_DIR = "{prefix}{{file_name}}".format(
34-
prefix=os.environ.get("POKEAPI_SPRITES_PREFIX", "/media/sprites/")
34+
prefix=os.environ.get("POKEAPI_SPRITES_PREFIX", "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/")
3535
)
3636
IMAGE_DIR = os.getcwd() + "/data/v2/sprites/sprites/"
3737
RESOURCE_IMAGES = []

0 commit comments

Comments
 (0)