fix: publish hot updates on update domain

This commit is contained in:
mac
2026-07-15 19:18:03 +08:00
parent 5bf5457948
commit 446de30c53
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -39,8 +39,8 @@ if (!token) {
if (!token) { console.error("缺少 gitea token:设置 GIT_TOKEN 或写入 ~/.tokendun-git-token"); process.exit(1); }
const OWNER = "mhgmh", REPO = "codex-market-app", TAG = "hot";
const API = `https://up.tokendun.cc/api/v1/repos/${OWNER}/${REPO}`;
const DL = `https://up.tokendun.cc/${OWNER}/${REPO}/releases/download/${TAG}`;
const API = `https://update.tokendun.cc/api/v1/repos/${OWNER}/${REPO}`;
const DL = `https://update.tokendun.cc/${OWNER}/${REPO}/releases/download/${TAG}`;
const OUT = path.join(ROOT, "dist-hot");
fs.mkdirSync(OUT, { recursive: true });