diff --git a/templates/index.html b/templates/index.html index db9eb57..6328bd0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -222,6 +222,9 @@ +
+ TailScan ... +
@@ -738,6 +741,13 @@ function showError(msg) { `; } +// ── Version ─────────────────────────────────────────────────────────────────── + +fetch('/api/version').then(r=>r.json()).then(d=>{ + const el = document.getElementById('version-str'); + if (el) el.textContent = 'v' + d.version; +}).catch(()=>{}); + // ── Init ───────────────────────────────────────────────────────────────────── (async () => {