Skip to content

Commit

Permalink
Fix check version
Browse files Browse the repository at this point in the history
  • Loading branch information
louislam committed Dec 5, 2022
1 parent 8aa9763 commit eadf2c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/check-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ exports.startInterval = () => {
let checkBeta = await setting("checkBeta");

if (checkBeta && res.data.beta) {
if (compareVersions.compare(res.data.beta, res.data.beta, ">")) {
if (compareVersions.compare(res.data.beta, res.data.slow, ">")) {
exports.latestVersion = res.data.beta;
return;
}
Expand Down

0 comments on commit eadf2c8

Please sign in to comment.