diff --git a/src/app/mii/[id]/image/route.ts b/src/app/mii/[id]/image/route.ts index f43970b..76fff47 100644 --- a/src/app/mii/[id]/image/route.ts +++ b/src/app/mii/[id]/image/route.ts @@ -105,10 +105,15 @@ export async function GET(request: NextRequest, { params }: { params: Promise<{ return new NextResponse(buffer, { headers: { + "Content-Type": "image/png", "Content-Disposition": `inline; filename="${filename}"`, }, }); } - return new NextResponse(buffer); + return new NextResponse(buffer, { + headers: { + "Content-Type": "image/webp", + }, + }); }