fix: return image/apng media type from animated card endpoint (#196)

Closes #196

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Cal Corum 2026-04-07 20:01:48 -05:00
parent 19003215a3
commit dcff8332a2

View File

@ -860,7 +860,7 @@ async def get_animated_card(
finally:
await page.close()
return FileResponse(path=cache_path, media_type="image/png", headers=headers)
return FileResponse(path=cache_path, media_type="image/apng", headers=headers)
@router.get("/{player_id}/{card_type}card")