From 369f68255c8934b5b44301e601d0f7d029ad628d Mon Sep 17 00:00:00 2001 From: lisonge Date: Sun, 3 Sep 2023 18:36:56 +0800 Subject: [PATCH] fix: sync --- scripts/sync.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/sync.ts b/scripts/sync.ts index 0c84eb42..ed851519 100644 --- a/scripts/sync.ts +++ b/scripts/sync.ts @@ -1,8 +1,10 @@ -await fetch( +const r = await fetch( `https://registry-direct.npmmirror.com/@gkd-kit/subscription/sync`, { method: 'PUT', }, ); +console.log(await r.json()); +console.log(`同步 npmmirror 成功`); export {};