summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/app/boot.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/app/boot.js b/src/client/app/boot.js
index ac90fda05f..c09cbb6bd6 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);