Files
AetherForge/server/web/index.html

33 lines
1.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/af-logo.png" />
<link rel="shortcut icon" type="image/png" href="/af-logo.png" />
<link rel="apple-touch-icon" href="/af-logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover, maximum-scale=5" />
<meta name="theme-color" content="#c9a227" />
<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>
// 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>
</html>