This commit is contained in:
+1
-13
@@ -4,12 +4,6 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>SysAdmin Arcade</title>
|
||||
<meta name="theme-color" content="#030712">
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-title" content="SysAdmin Arcade">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<link rel="manifest" href="manifest.webmanifest">
|
||||
<link rel="icon" href="favicon/arcade-favicon.ico" sizes="any">
|
||||
<link rel="icon" href="favicon/arcade-favicon-16.png" type="image/png" sizes="16x16">
|
||||
<link rel="icon" href="favicon/arcade-favicon-32.png" type="image/png" sizes="32x32">
|
||||
@@ -675,14 +669,8 @@
|
||||
})
|
||||
.catch(() => {
|
||||
gameCount.textContent = '?';
|
||||
gameGrid.innerHTML = '<div class="empty-state">Could not load <code>games.json</code>. Serve this directory over HTTP and check the manifest path.</div>';
|
||||
gameGrid.innerHTML = '<div class="empty-state">Could not load <code>games.json</code>. Serve this directory over HTTP and check the games list path.</div>';
|
||||
});
|
||||
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', () => {
|
||||
navigator.serviceWorker.register('sw.js');
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user