mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-25 07:02:10 -05:00
chore: duct-tape fix for semver library breaking
This commit is contained in:
parent
00718245f9
commit
4e22ccb2f7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue