Skip to content

Commit

Permalink
fixed autoupdater
Browse files Browse the repository at this point in the history
  • Loading branch information
kubagp1 committed Oct 18, 2021
1 parent 430a765 commit 84af2fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/autoupdater/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Autoupdater {
fetch(this.URL.href, { cache: 'no-store' })
.then((response) => response.text())
.then((latestVersion) => {
if (latestVersion != currentVersion) this.reloadPage()
if (latestVersion.trim() != currentVersion.trim()) this.reloadPage()
})
}

Expand Down

0 comments on commit 84af2fe

Please sign in to comment.