misc: switch back to thumbnail

This commit is contained in:
Xylight committed 2024-07-08 19:21:04 -07:00
1 parent c6c0236898
commit eac513858c
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ export const optimizeImageURL = (
if (width > 0) {
url.searchParams.append(
'resize',
'thumbnail',
findClosestNumber([128, 256, 512, 728, 1024, 1536], width).toString()
)
}
+1 -1
View File
@@ -20,7 +20,7 @@
const urlObj = new URL(url)
urlObj.searchParams.append('format', 'webp')
urlObj.searchParams.append(
'resize',
'thumbnail',
findClosestNumber(sizes, res || width).toString()
)