jormungandr-bite/src/client/assets/version.html

24 lines
435 B
HTML
Raw Normal View History

2018-04-10 10:41:35 -06:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Misskeyのリカバリ</title>
<script>
2018-04-10 20:48:04 -06:00
const v = window.prompt('Enter version:');
2018-04-10 10:41:35 -06:00
if (v) {
localStorage.setItem('v', v);
}
2018-04-10 20:48:04 -06:00
const lang = window.prompt('Enter language (optional):');
if (lang && lang.length > 0) {
localStorage.setItem('lang', lang);
}
setTimeout(() => {
location.href = '/';
}, 500);
2018-04-10 10:41:35 -06:00
</script>
</head>
</html>