From 6119312a74c73e24f90efa4b46322da8a7fc573c Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 21 Apr 2018 16:18:58 +0900 Subject: [PATCH] Fix bug --- src/client/app/boot.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/client/app/boot.js b/src/client/app/boot.js index ac90fda05..c09cbb6bd 100644 --- a/src/client/app/boot.js +++ b/src/client/app/boot.js @@ -18,7 +18,11 @@ // ブロック内に入れてスコープを非グローバル化するとそれが防げます // (Chrome以外のブラウザでは検証していません) { - if (localStorage.getItem('shouldFlush') == 'true') refresh(); + // キャッシュ削除要求があれば従う + if (localStorage.getItem('shouldFlush') == 'true') { + refresh(); + return; + } // Get the current url information const url = new URL(location.href);