Skip to content

Commit

Permalink
fix: use registry-direct.npmmirror.com to create sync task
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed May 18, 2024
1 parent 71dc87f commit 3f8829c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
Expand Down

0 comments on commit 3f8829c

Please sign in to comment.