fix: user thumbnail file extension

This commit is contained in:
ZhenShuo Leo
2025-12-21 23:16:50 +08:00
parent 1be60f89da
commit cc2c5c5205
110 changed files with 1 additions and 1 deletions

View File

@@ -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 });
}
}