diff --git a/package.json b/package.json index 1c4d673..0132d26 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "telos-db", "private": true, - "version": "0.3.2", + "version": "0.3.3", "type": "module", "scripts": { "tauri": "tauri", diff --git a/src/backend/Cargo.toml b/src/backend/Cargo.toml index 45c02d7..5396f8c 100644 --- a/src/backend/Cargo.toml +++ b/src/backend/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "app" -version = "0.3.2" +version = "0.3.3" description = "A Tauri App" authors = ["you"] license = "" diff --git a/src/backend/tauri.conf.json b/src/backend/tauri.conf.json index f78a3dc..869b83f 100644 --- a/src/backend/tauri.conf.json +++ b/src/backend/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "../../node_modules/@tauri-apps/cli/config.schema.json", "productName": "TelosDB", - "version": "0.3.2", + "version": "0.3.3", "identifier": "com.telosdb.app", "build": { "frontendDist": "../frontend", diff --git a/src/frontend/components/site-footer.js b/src/frontend/components/site-footer.js index c48b9ac..a95578e 100644 --- a/src/frontend/components/site-footer.js +++ b/src/frontend/components/site-footer.js @@ -31,9 +31,11 @@ return; } } catch (_) { - if (attempt === maxAttempts) el.textContent = `v${FALLBACK_VERSION}`; - else await new Promise((r) => setTimeout(r, delayMs)); + // ネットワークエラーまたは res.ok でない } + // 有効な version が取れなかった(無効なレスポンス or 例外)→ 遅延してリトライ。最終試行ならフォールバック表示 + if (attempt === maxAttempts) el.textContent = `v${FALLBACK_VERSION}`; + else await new Promise((r) => setTimeout(r, delayMs)); } } }