From dc511fabc48509157af4269ebcf462a19f896b22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=98=89=E4=BC=9F?= <8473136@qq.com> Date: Sun, 1 Dec 2024 10:10:59 +0800 Subject: [PATCH 1/8] =?UTF-8?q?:sparkles:=20=E4=BF=AE=E5=A4=8Dgithub=20api?= =?UTF-8?q?=20=E9=99=90=E6=B5=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron/api/github.ts | 3 ++- src/views/logger/index.vue | 37 +++++++++++++++++++------------------ 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/electron/api/github.ts b/electron/api/github.ts index ed80d20..f3c2ce8 100644 --- a/electron/api/github.ts +++ b/electron/api/github.ts @@ -119,7 +119,8 @@ export const initGitHubApi = () => { ipcMain.on("github.getFrpVersions", async event => { const request = net.request({ method: "get", - url: "https://api.github.com/repos/fatedier/frp/releases?page=1&per_page=1000" + // url: "https://api.github.com/repos/fatedier/frp/releases?page=1&per_page=1000" + url: "https://api.jwinks.com/github/releases" }); request.on("response", response => { let responseData: Buffer = Buffer.alloc(0); diff --git a/src/views/logger/index.vue b/src/views/logger/index.vue index b57e498..00fb768 100644 --- a/src/views/logger/index.vue +++ b/src/views/logger/index.vue @@ -11,21 +11,21 @@ const loggerContent = ref('