summaryrefslogtreecommitdiff
path: root/src/client/app/common/scripts/check-for-update.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-04-22 21:32:09 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-04-22 21:32:09 +0900
commit0b99483ccbb1a4c111177718c0e9300a19d36a28 (patch)
tree892645d59eb75cb69e5576df923825b3ceb7e20b /src/client/app/common/scripts/check-for-update.ts
parentFix bug (diff)
downloadsharkey-0b99483ccbb1a4c111177718c0e9300a19d36a28.tar.gz
sharkey-0b99483ccbb1a4c111177718c0e9300a19d36a28.tar.bz2
sharkey-0b99483ccbb1a4c111177718c0e9300a19d36a28.zip
サーバーのバージョンとクライアントのバージョンを分けた
Diffstat (limited to 'src/client/app/common/scripts/check-for-update.ts')
-rw-r--r--src/client/app/common/scripts/check-for-update.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/common/scripts/check-for-update.ts b/src/client/app/common/scripts/check-for-update.ts
index 20ce64ea85..3ed9d41e76 100644
--- a/src/client/app/common/scripts/check-for-update.ts
+++ b/src/client/app/common/scripts/check-for-update.ts
@@ -3,7 +3,7 @@ import { version as current } from '../../config';
export default async function(mios: MiOS, force = false, silent = false) {
const meta = await mios.getMeta(force);
- const newer = meta.version;
+ const newer = meta.clientVersion;
if (newer != current) {
localStorage.setItem('should-refresh', 'true');