Skip to content

Commit

Permalink
Update file paths in index.html for consistency and remove unused dat…
Browse files Browse the repository at this point in the history
…a request check in service worker
  • Loading branch information
tech_e committed Sep 26, 2024
1 parent a5ff002 commit b4f6ba0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
<title>Multisplode</title>

<!-- styles -->
<link rel="stylesheet" type="text/css" href="/css/import-file.css">
<link rel="shortcut icon" href="/favicon.ico">
<link rel="stylesheet" type="text/css" href="./css/import-file.css">
<link rel="shortcut icon" href="./favicon.ico">

<!-- content -->
<meta name="description" content="Enjoy explosive action in Multisplode! Play directly in your browser!">
<meta name="keywords" content="multisplode, game, multiplayer, online, browser, action, fun, explosive">

<!-- pwa settings -->
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="./manifest.json">
<meta name="theme-color" content="#111D5D">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, viewport-fit=cover">
<meta name="screen-orientation" content="landscape">
Expand All @@ -24,11 +24,11 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="Multisplode">
<link rel="apple-touch-icon" href="/images/icons/icon-512.png">
<link rel="icon" sizes="192x192" href="/images/icons/icon-192.png">
<link rel="apple-touch-icon" href="./images/icons/icon-512.png">
<link rel="icon" sizes="192x192" href="./images/icons/icon-192.png">

<!-- more pwa settings -->
<meta name="msapplication-TileImage" content="/images/icons/icon-192.png">
<meta name="msapplication-TileImage" content="./images/icons/icon-192.png">
<meta name="msapplication-TileColor" content="#111D5D">

<base href="./">
Expand Down
5 changes: 0 additions & 5 deletions public/worker/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@ class Service extends CacheController
return false;
}

if (this.isDataRequest(e.request.url))
{
return false;
}

if (e.request.mode === 'navigate')
{
e.respondWith(caches.match('index.html'));
Expand Down

0 comments on commit b4f6ba0

Please sign in to comment.