diff --git a/api/v2/images/[id].js b/api/v2/images/[id].js index c41e751..8897cf3 100644 --- a/api/v2/images/[id].js +++ b/api/v2/images/[id].js @@ -32,7 +32,7 @@ export default function handler(req, res) { if (image.includes("CardFace")) { url = `https://api.hakush.in/gi/UI/${image}.webp`; } else { - url = `https://assets.gi-tcg.guyutongxue.site/assets/${image}.webp?thumb=${thumb}`; + url = `https://assets.gi-tcg.guyutongxue.site/assets/${thumb ? 'thumbs/' : '' }${image}.webp`; } res.status(307).setHeader("Location", url).send(void 0); } \ No newline at end of file