From 0b99483ccbb1a4c111177718c0e9300a19d36a28 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 22 Apr 2018 21:32:09 +0900 Subject: サーバーのバージョンとクライアントのバージョンを分けた MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/app/common/scripts/check-for-update.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/app/common') 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'); -- cgit v1.2.3-freya