diff --git a/pages/api/beatsaver/art/[hash].js b/pages/api/beatsaver/art/[hash].js index b0ea3c6..8f5d47e 100644 --- a/pages/api/beatsaver/art/[hash].js +++ b/pages/api/beatsaver/art/[hash].js @@ -36,7 +36,7 @@ export default async function handler(req, res) { } let buffer = await data.buffer(); // Change to arrayBuffer at some point to make it shush - buffer = await sharp(buffer).resize(150, 150).toBuffer(); + buffer = await sharp(buffer).resize(400, 400).toBuffer(); const bytes = buffer.toString("base64"); await RedisUtils.setValue(`${KEY}${mapHash}`.replace(" ", ""), bytes); diff --git a/pages/api/steamavatar.js b/pages/api/steamavatar.js index 16899ff..303f6bb 100644 --- a/pages/api/steamavatar.js +++ b/pages/api/steamavatar.js @@ -46,7 +46,7 @@ export default async function handler(req, res) { } let buffer = await data.buffer(); // Change to arrayBuffer at some point to make it shush - buffer = await sharp(buffer).resize(150, 150).toBuffer(); + buffer = await sharp(buffer).resize(400, 400).toBuffer(); const bytes = buffer.toString("base64"); await RedisUtils.setValue(`${KEY}${steamId}`, bytes);