From 57aa87f3700d395ca564df149471ab0a05dd1f1c Mon Sep 17 00:00:00 2001 From: tamaina Date: Fri, 17 Mar 2023 15:50:07 +0000 Subject: [PATCH] 0.0.19 --- built/index.js | 2 +- package.json | 2 +- src/index.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/built/index.js b/built/index.js index df114ea..31414fb 100644 --- a/built/index.js +++ b/built/index.js @@ -122,7 +122,7 @@ async function proxyHandler(request, reply) { } } else if ('static' in request.query) { - image = convertSharpToWebpStream(await sharpBmp(file.path, file.mime), 498, 280); + image = convertSharpToWebpStream(await sharpBmp(file.path, file.mime), 498, 422); } else if ('preview' in request.query) { image = convertSharpToWebpStream(await sharpBmp(file.path, file.mime), 200, 200); diff --git a/package.json b/package.json index d552e8c..ef905f7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "misskey-media-proxy", - "version": "0.0.18", + "version": "0.0.19", "description": "The Media Proxy for Misskey", "main": "built/index.js", "packageManager": "pnpm@7.28.0", diff --git a/src/index.ts b/src/index.ts index 0db33b3..265fbc0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -168,7 +168,7 @@ async function proxyHandler(request: FastifyRequest<{ Params: { url: string; }; }; } } else if ('static' in request.query) { - image = convertSharpToWebpStream(await sharpBmp(file.path, file.mime), 498, 280); + image = convertSharpToWebpStream(await sharpBmp(file.path, file.mime), 498, 422); } else if ('preview' in request.query) { image = convertSharpToWebpStream(await sharpBmp(file.path, file.mime), 200, 200); } else if ('badge' in request.query) {