Skip to content

Commit a3c42b9

Browse files
authored
fix: use sync endpoint (#6)
1 parent 7de7af5 commit a3c42b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ async function run() {
4343
core.setOutput('release_version', nextRelease.version);
4444

4545
// cnpm sync
46-
const res = await request(`https://registry.npmmirror.com/-/package/${pkgInfo.name}/syncs`, { method: 'PUT' });
46+
const res = await request(`https://registry-direct.npmmirror.com/-/package/${pkgInfo.name}/syncs`, { method: 'PUT' });
4747
const { id } = await res.body.json();
4848
const logUrl = `https://registry.npmmirror.com/-/package/${pkgInfo.name}/syncs/${id}/log`;
4949
core.setOutput('cnpm_sync_url', logUrl);

0 commit comments

Comments
 (0)