feat: 解决检查更新请求失败问题

This commit is contained in:
alger
2025-01-02 00:45:01 +08:00
parent 5213aa13c5
commit cdb9524f04
2 changed files with 10 additions and 2 deletions
@@ -129,7 +129,7 @@ const handleUpdate = async () => {
}
if (downloadUrl) {
window.open(downloadUrl, '_blank');
window.open(`https://ghproxy.cn/${downloadUrl}`, '_blank');
} else {
// 如果没有找到对应的安装包,跳转到 release 页面
window.open('https://github.com/algerkong/AlgerMusicPlayer/releases/latest', '_blank');