Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Register the SW on app start
  • Loading branch information
tdemin committed Oct 10, 2019
1 parent ab426cb commit 18705ee
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/index.tsx
Expand Up @@ -17,7 +17,5 @@ ReactDOM.render(
document.getElementById("root")
);

// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
serviceWorker.unregister();
// See https://bit.ly/CRA-PWA for the list of possible problems.
serviceWorker.register();

0 comments on commit 18705ee

Please sign in to comment.