Update boot.js
This commit is contained in:
		
							parent
							
								
									d153d3b761
								
							
						
					
					
						commit
						c3592e8c4a
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -58,6 +58,7 @@ | ||||||
| 	// 読み込まれたスクリプトからこのタイマーを解除できるように、
 | 	// 読み込まれたスクリプトからこのタイマーを解除できるように、
 | ||||||
| 	// グローバルにタイマーIDを代入しておく
 | 	// グローバルにタイマーIDを代入しておく
 | ||||||
| 	window.mkBootTimer = window.setTimeout(async () => { | 	window.mkBootTimer = window.setTimeout(async () => { | ||||||
|  | 		// TODO: サーバーが落ちている場合などのエラーハンドリング
 | ||||||
| 		const res = await fetch('/api/meta', { | 		const res = await fetch('/api/meta', { | ||||||
| 			method: 'POST', | 			method: 'POST', | ||||||
| 			cache: 'no-cache' | 			cache: 'no-cache' | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue