Skip to content

Commit

Permalink
fix: core version check
Browse files Browse the repository at this point in the history
  • Loading branch information
Zephyruso committed Dec 17, 2024
1 parent 421e98d commit 947df26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export const fetchBackendUpdateAvailableAPI = async () => {
const response = await fetch(`https://api.github.com/repos/MetaCubeX/mihomo/releases/latest`)
const { tag_name } = await response.json()

return tag_name && tag_name !== `v${zashboardVersion.value}`
return tag_name && tag_name !== `v${version.value}`
}

const channel = match[1],
Expand Down

0 comments on commit 947df26

Please sign in to comment.