mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Add new recover script
This commit is contained in:
parent
99b4602460
commit
a35a6398e3
1 changed files with 19 additions and 0 deletions
19
src/client/assets/version.html
Normal file
19
src/client/assets/version.html
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Misskeyのリカバリ</title>
|
||||||
|
<script>
|
||||||
|
const v = window.prompt('Enter version');
|
||||||
|
if (v) {
|
||||||
|
localStorage.setItem('v', v);
|
||||||
|
setTimeout(() => {
|
||||||
|
location.reload(true);
|
||||||
|
}, 500);
|
||||||
|
} else {
|
||||||
|
location.href = '/';
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
</html>
|
Loading…
Add table
Reference in a new issue