Skip to content

Commit

Permalink
Updated index and service worker
Browse files Browse the repository at this point in the history
  • Loading branch information
plantindesk authored and undergroundwires committed Jul 9, 2024
1 parent 3d31bc9 commit 28fc33d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/presentation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"
/>
<meta name="robots" content="index,follow" />
<meta name="theme-color" content="#ffffff">
<link rel="manifest" href="manifest.json">
<meta name="theme-color" content="#ffffff"/>
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.ico">

<!--
Expand Down
7 changes: 3 additions & 4 deletions src/presentation/public/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ self.addEventListener('install', (event) => {
caches.open('app-cache').then((cache) => {
return cache.addAll([
'/', // root URL
'/index.html', // main HTML file
'/app.js', // main JavaScript file
'/styles.css', // main CSS file
'/images/logo.png', // logo image
'/icon.png',
'/favicon.ico',
'/main.ts',
]);
}),
);
Expand Down

0 comments on commit 28fc33d

Please sign in to comment.