developにキャッシュFlushリンクを追加 (#4313)
This commit is contained in:
parent
6f97142b59
commit
aeca115a37
3 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
|||
<meta charset="utf-8">
|
||||
<title>Misskeyのリカバリ</title>
|
||||
<script>
|
||||
const yn = window.confirm('キャッシュをクリアしますか?\n\nDo you want to clear caches?');
|
||||
const yn = location.search === '?force' || window.confirm('キャッシュをクリアしますか?\n\nDo you want to clear caches?');
|
||||
if (yn) {
|
||||
localStorage.setItem('shouldFlush', 'true');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue