Skip to content

Commit

Permalink
chore: remove pwa for now
Browse files Browse the repository at this point in the history
  • Loading branch information
zugdev committed Dec 4, 2024
1 parent 86017e6 commit fc3987a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/home/home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ void (async function home() {
await postLoadUpdateIssues(); // Update cache and issues if cache is outdated

// Register service worker for PWA
if ("serviceWorker" in navigator) {
navigator.serviceWorker
.register("/progressive-web-app.js")
.then(() => {
console.log("Service worker registered");
})
.catch((err) => {
console.log(err);
});
}
// if ("serviceWorker" in navigator) {
// navigator.serviceWorker
// .register("/progressive-web-app.js")
// .then(() => {
// console.log("Service worker registered");
// })
// .catch((err) => {
// console.log(err);
// });
// }
})();

0 comments on commit fc3987a

Please sign in to comment.