Better recovery system
This commit is contained in:
		
							
								
								
									
										16
									
								
								src/client/assets/flush.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								src/client/assets/flush.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| <!DOCTYPE html> | ||||
|  | ||||
| <html> | ||||
| 	<head> | ||||
| 		<meta charset="utf-8"> | ||||
| 		<title>Misskeyのリカバリ</title> | ||||
| 		<script> | ||||
| 			const yn = window.confirm('キャッシュをクリアしますか?\n\nDo you want to clear caches?'); | ||||
| 			if (yn) { | ||||
| 				localStorage.setItem('shouldFlush', 'true'); | ||||
| 			} | ||||
|  | ||||
| 			location.href = '/'; | ||||
| 		</script> | ||||
| 	</head> | ||||
| </html> | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo