summaryrefslogtreecommitdiff
path: root/src/client/assets/version.html
blob: d8a98279a6a51e0162cbbc1b8836a0cc8a7569d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!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>