From c3592e8c4aa84620d1f977f0386cfaab0c8655ec Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 16 Jan 2021 01:39:44 +0900 Subject: [PATCH] Update boot.js --- src/server/web/boot.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/web/boot.js b/src/server/web/boot.js index 1df9edd1c..aab986ba2 100644 --- a/src/server/web/boot.js +++ b/src/server/web/boot.js @@ -58,6 +58,7 @@ // 読み込まれたスクリプトからこのタイマーを解除できるように、 // グローバルにタイマーIDを代入しておく window.mkBootTimer = window.setTimeout(async () => { + // TODO: サーバーが落ちている場合などのエラーハンドリング const res = await fetch('/api/meta', { method: 'POST', cache: 'no-cache'