Skip to content

Commit

Permalink
fix 斗争之火 image
Browse files Browse the repository at this point in the history
  • Loading branch information
guyutongxue committed Jan 5, 2025
1 parent c385b3e commit 93eabc6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion api/v2/images/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ export default function handler(req, res) {
.send("Not found");
return;
}
const hakushinNotProvidedIds = [
300006
];
let url;
if (image.includes("CardFace")) {
if (!hakushinNotProvidedIds.includes(Number(id)) && image.includes("CardFace")) {
url = `https://api.hakush.in/gi/UI/${image}.webp`;
} else {
url = `https://assets.gi-tcg.guyutongxue.site/assets/${thumb ? 'thumbs/' : '' }${image}.webp`;
Expand Down

0 comments on commit 93eabc6

Please sign in to comment.