misskey/src/client/assets/version.html

24 lines
435 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>
2018-04-11 02:48:04 +00:00
const v = window.prompt('Enter version:');
2018-04-10 16:41:35 +00:00
if (v) {
localStorage.setItem('v', v);
}
2018-04-11 02:48:04 +00:00
const lang = window.prompt('Enter language (optional):');
if (lang && lang.length > 0) {
localStorage.setItem('lang', lang);
}
setTimeout(() => {
location.href = '/';
}, 500);
2018-04-10 16:41:35 +00:00
</script>
</head>
</html>