更新地址

This commit is contained in:
yj 2024-09-03 16:57:29 +08:00
parent 2d7103f7ae
commit eeccf9a462
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

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