egirlskey/src/client/assets/version.html

20 lines
334 B
HTML
Raw Normal View History

2018-04-10 16:41:35 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Misskeyのリカバリ</title>
<script>
const v = window.prompt('Enter version');
if (v) {
localStorage.setItem('v', v);
setTimeout(() => {
location.reload(true);
}, 500);
} else {
location.href = '/';
}
</script>
</head>
</html>