feat: 更新报告生成逻辑,使用新的请求URL

This commit is contained in:
zhaoyingbo 2024-12-04 11:29:56 +00:00
parent 1377a84784
commit c7e06bbe28

View File

@ -108,7 +108,7 @@ const genReport = async (
* @returns {Promise<void>} * @returns {Promise<void>}
*/ */
const genAllReport = async (timeScope: "daily" | "weekly" = "daily") => { const genAllReport = async (timeScope: "daily" | "weekly" = "daily") => {
const ctx = await genContext(new Request("")) const ctx = await genContext(new Request("https://baidu.com"))
const { logger } = ctx const { logger } = ctx
try { try {