iceshrimp/src/client/assets/version.html
2018-04-11 11:48:04 +09:00

24 lines
435 B
HTML

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