thumbnail size is 320 * 320

This commit is contained in:
Hongbo Wu 2023-08-07 18:53:12 +08:00
parent 7420d20045
commit d231907945

View file

@ -346,7 +346,7 @@ export const thumbnailHandler = Sentry.GCPFunction.wrapHttpFunction(
if (page.image) {
console.log('thumbnail already set')
// pre-cache thumbnail first if exists
const imageProxyUrl = createImageProxyUrl(page.image)
const imageProxyUrl = createImageProxyUrl(page.image, 320, 320)
await fetchImage(imageProxyUrl)
}