fix: restore dedicated update repository
This commit is contained in:
+2
-2
@@ -280,8 +280,8 @@ function sendUpdate(channel, data) {
|
||||
if (mainWindow && !mainWindow.isDestroyed()) mainWindow.webContents.send(channel, data);
|
||||
}
|
||||
|
||||
const UPDATE_OWNER = "backup-bot";
|
||||
const UPDATE_REPO = "backup";
|
||||
const UPDATE_OWNER = "mhgmh";
|
||||
const UPDATE_REPO = "codex-market-app";
|
||||
// 自建 gitea 发布源(国内可达、匿名可读):完整包更新和热更都走这里。
|
||||
// up 域名给 API/直连,update 域名给用户浏览下载页(管理登录会话在此)。
|
||||
const GITEA_RELEASES_API = `https://up.tokendun.cc/api/v1/repos/${UPDATE_OWNER}/${UPDATE_REPO}/releases/latest`;
|
||||
|
||||
Reference in New Issue
Block a user