diff --git a/pages/api/beatsaver/art/[hash].js b/pages/api/beatsaver/art/[hash].js index 65dcc94..8730388 100644 --- a/pages/api/beatsaver/art/[hash].js +++ b/pages/api/beatsaver/art/[hash].js @@ -21,6 +21,6 @@ export default async function handler(req, res) { return; } const buffer = fs.readFileSync(imagePath); - res.setHeader("Content-Type", "image/jpg" + ext); + res.setHeader("Content-Type", "image/" + ext); res.send(buffer); }