fix: return image/apng media type from animated card endpoint (#196) #204
@ -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