fix: publish hot updates on update domain
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user