sharkey/src/client/assets/version.html

24 lines
435 B
HTML
Raw Normal View History

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