Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
guyutongxue committed Jan 24, 2025
1 parent e9d79af commit ef863de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v2/data/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default async function handler(req, res) {
return;
}
if (id.endsWith(".webp")) {
const response = await fetch(`https://gi-tcg-card-data-img.vercel.app/${id}`);
const response = await fetch(`https://gi-tcg-card-data-img.vercel.app/${id}`).then((r) => r.blob());
res.status(200).send(response);
return;
}
Expand Down

0 comments on commit ef863de

Please sign in to comment.