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>