iceshrimp/src/client/assets/flush.html

17 lines
369 B
HTML
Raw Normal View History

2018-04-16 15:59:43 +09:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Misskeyのリカバリ</title>
<script>
const yn = location.search === '?force' || window.confirm('キャッシュをクリアしますか?\n\nDo you want to clear caches?');
2018-04-16 15:59:43 +09:00
if (yn) {
localStorage.setItem('shouldFlush', 'true');
}
location.href = '/';
</script>
</head>
</html>