Change default thumbnail max size to 400

This commit is contained in:
2024-06-08 17:14:54 +08:00
parent cf728267f1
commit 8fee51489d

View File

@@ -66,7 +66,7 @@ export const handler: Handlers = {
if (!f) {
return new Response("File not found.", { status: 404 });
}
const max = await parse_int(u.searchParams.get("max"), 1200);
const max = await parse_int(u.searchParams.get("max"), 400);
const width = await parse_int(u.searchParams.get("width"), null);
const height = await parse_int(u.searchParams.get("height"), null);
const quality = await parse_int(u.searchParams.get("quality"), 1);