diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-11 01:41:35 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-11 01:41:35 +0900 |
| commit | 21119e972dbb37698948842f8a52a6223bea39bd (patch) | |
| tree | ad1d94908d50ee5cb0243d7194e26970740b1eff /src/client | |
| parent | Add recover.html again (diff) | |
| download | sharkey-21119e972dbb37698948842f8a52a6223bea39bd.tar.gz sharkey-21119e972dbb37698948842f8a52a6223bea39bd.tar.bz2 sharkey-21119e972dbb37698948842f8a52a6223bea39bd.zip | |
Add new recover script
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/assets/version.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/client/assets/version.html b/src/client/assets/version.html new file mode 100644 index 0000000000..f80cbcbd19 --- /dev/null +++ b/src/client/assets/version.html @@ -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> |