Skip to content

Commit

Permalink
updated assets for release icons into service worker for PWA
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkaison committed Feb 27, 2024
1 parent 5d13b1d commit 42c8253
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions public/sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ const staticAssets = [
"/assets/moon.webp",
"/assets/sun.webp",
"/assets/copy.svg",
"/assets/release-icon.svg",
"/assets/major-update-icon.svg",
"/assets/alpha-icon.svg",
"/favicon/android-chrome-192x192.png",
"/favicon/android-chrome-512x512.png",
"/favicon/apple-touch-icon.png",
Expand Down
2 changes: 1 addition & 1 deletion src/swDev.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default function swDev() {
navigator.serviceWorker
.register("/sw.js")
.then((registration) => {
console.log("Service worker registered successfully:", registration);
// console.log("Service worker registered successfully:", registration);
})
.catch((error) => {
console.error("Service worker registration failed:", error);
Expand Down

0 comments on commit 42c8253

Please sign in to comment.