Add fleet evolution: genetic breeding, atlas gossip, BGP router, seeder/miner, genealogy, court gates, APK scout, personas, WSUS mimic, and P2 test coverage
This commit is contained in:
@@ -10,22 +10,22 @@
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<meta name="format-detection" content="telephone=no" />
|
||||
<link rel="manifest" href="/manifest.webmanifest" />
|
||||
<title>AetherForge — Command Deck</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script>
|
||||
(function () {
|
||||
if (!('serviceWorker' in navigator)) return;
|
||||
navigator.serviceWorker.getRegistrations().then(function (regs) {
|
||||
regs.forEach(function (r) { r.unregister(); });
|
||||
});
|
||||
if (window.caches) {
|
||||
caches.keys().then(function (keys) {
|
||||
keys.forEach(function (k) { caches.delete(k); });
|
||||
// Register the AetherForge service worker for PWA installability and
|
||||
// offline support. The registration is a no-op until sw.js is present
|
||||
// in the build output, so this is safe to ship before the SW is built.
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', function () {
|
||||
navigator.serviceWorker.register('/sw.js', { scope: '/' }).catch(function () {
|
||||
// SW registration is best-effort — app works fine without it.
|
||||
});
|
||||
}
|
||||
})();
|
||||
});
|
||||
}
|
||||
</script>
|
||||
<script type="module" src="/src/main.tsx"></script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user