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())