From eeccf9a4620d2e185fae83184b812007249ed535 Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Tue, 3 Sep 2024 16:57:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 2 +- src/components/UpdateModal/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index ceff3d4..01a5e8b 100644 --- a/main.js +++ b/main.js @@ -274,7 +274,7 @@ function updateHandle() { updateAva: '检测到新版本,正在下载……', updateNotAva: '现在使用的就是最新版本,不用更新' } - autoUpdater.setFeedURL('https://update.23544.com/metting') + autoUpdater.setFeedURL('https://meeting-api.23544.com/meeting-update') autoUpdater.autoDownload = false // 不自动下载安装包 autoUpdater.autoInstallOnAppQuit = false // 不自动安装 autoUpdater.on('error', function (error) { diff --git a/src/components/UpdateModal/index.tsx b/src/components/UpdateModal/index.tsx index eb7230f..3cfd7af 100644 --- a/src/components/UpdateModal/index.tsx +++ b/src/components/UpdateModal/index.tsx @@ -22,7 +22,7 @@ const UpdateModal = forwardRef((props: any, ref: any) => { const [updateContent, setUpdateContent] = useState('') // 版本更新内容 function getContent() { - fetch(`https://update.23544.com/metting/update.txt?t=${+new Date()}`) // 配置服务器地址 + fetch(`https://meeting-api.23544.com/meeting-update/update.txt?t=${+new Date()}`) // 配置服务器地址 .then(async response => { if (response.status === 200) { return setUpdateContent(await response.text())