Skip to content

Commit c4748f5

Browse files
committed
Fix: Sprites URL in GraphQL
Signed-off-by: LeonEstrak <[email protected]>
1 parent f7e87ab commit c4748f5

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)