Skip to content

Commit 9a8032c

Browse files
committed
fix: 更新 Puppeteer
1 parent 36164bc commit 9a8032c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/getTaobaoEnv.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ export async function getTaobaoEnv(
9494
PYTHON_MIRROR: `${TAOBAO_MIRROR}/python`,
9595

9696
// Chrome Puppeteer
97-
PUPPETEER_DOWNLOAD_HOST: TAOBAO_MIRROR,
97+
PUPPETEER_DOWNLOAD_BASE_URL: `${TAOBAO_MIRROR}/chrome-for-testing`,
98+
/** @deprecated */
99+
PUPPETEER_DOWNLOAD_HOST: `${TAOBAO_MIRROR}/chrome-for-testing`,
98100

99101
// NW.js
100102
NWJS_URLBASE: `${TAOBAO_MIRROR}/nwjs/v`,

0 commit comments

Comments
 (0)