chore: duct-tape fix for semver library breaking

pull/1049/head
Paul Makles 2022-06-12 22:24:29 +01:00
parent 634a3e175f
commit 11dba75daf
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ async function checkVersion() {
(res) => res.json(),
)) as { version: string };
if (!semver.satisfies(APP_VERSION, version)) {
if (!semver.satisfies(APP_VERSION, version) && APP_VERSION !== version) {
// Let the worker know we should immediately refresh
forceUpdate = true;