From 3f8829c60e42b7b68c4d603685c323d308322e44 Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Sat, 18 May 2024 15:57:08 +0800 Subject: [PATCH] fix: use registry-direct.npmmirror.com to create sync task --- scripts/release/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release/index.js b/scripts/release/index.js index cfab466..a19b1f2 100644 --- a/scripts/release/index.js +++ b/scripts/release/index.js @@ -36,7 +36,7 @@ async function run() { // cnpm sync try { - const res = await request(`https://registry.npmmirror.com/-/package/${pkgInfo.name}/syncs`, { + const res = await request(`https://registry-direct.npmmirror.com/-/package/${pkgInfo.name}/syncs`, { method: 'PUT', timeout: 30000, });