Update index.js

registers the default serverworker, required to be installable on desktop as a PWA - as far as I can test, it doesn't seem to break anything
This commit is contained in:
certuna 2020-09-29 19:09:49 +02:00 committed by Deluan Quintão
parent e0fa85be28
commit 4d60f72b7e
1 changed files with 1 additions and 1 deletions

View File

@ -9,4 +9,4 @@ ReactDOM.render(<App />, 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()
serviceWorker.register()