mirror of
https://github.com/MisskeyIO/misskey
synced 2024-12-11 21:29:03 +09:00
Add new recover script
This commit is contained in:
parent
40b6797933
commit
21119e972d
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…
Reference in New Issue
Block a user