chore: suite

This commit is contained in:
xiaojunnuo
2024-12-18 09:07:52 +08:00
parent 8057586dc1
commit 1c8e25beb3
9 changed files with 270 additions and 80 deletions
@@ -14,12 +14,12 @@ export async function GetLatestVersion() {
return latest;
}
const res = await request({
url: "https://registry.npmmirror.com/@certd/pipeline",
url: "/app/latest",
method: "GET",
unpack: false
unpack: true
});
try {
const latest = res["dist-tags"].latest;
const latest = res;
LocalStorage.set("latestVersion", latest, 60 * 60 * 24);
return latest;
} catch (e: any) {