mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
fix: user thumbnail file extension
This commit is contained in:
@@ -132,7 +132,7 @@ async function translateFrontMatterTags(block, targetLang, tags) {
|
||||
await fs.writeFile(dir + `/index.${lang}.md`, content);
|
||||
}
|
||||
await page.goto(user.url);
|
||||
await page.screenshot({ path: dir + "/feature.jpg", type: "webp", quality: 50 });
|
||||
await page.screenshot({ path: dir + "/feature.webp", type: "webp", quality: 50 });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user