Show live Horizon terrain and radar views in the web panel

This commit is contained in:
2026-12-02 18:52:41 +03:00
parent 7612d15963
commit 20fdb23b39
15 changed files with 818 additions and 120 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
/* Cache only the public, versioned application shell. API responses are never cached. */
const CACHE = 'airdef-shell-v8';
const FILES = ['index.html', 'app.css', 'app.js', 'map.js', 'live.js', 'timeline.js', 'manifest.webmanifest', 'icons/icon-192.png', 'icons/icon-512.png'];
const CACHE = 'airdef-shell-v9';
const FILES = ['index.html', 'app.css', 'app.js', 'map.js', 'terrain.js', 'symbols.js', 'live.js', 'timeline.js', 'manifest.webmanifest', 'icons/icon-192.png', 'icons/icon-512.png'];
const scope = new URL(self.registration.scope);
const shellUrls = FILES.map(path => new URL(path, scope).href);