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:
parent
19003215a3
commit
dcff8332a2
@ -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")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user