From 4d60f72b7eaec4dc0dba6e65461ba442a079e8f3 Mon Sep 17 00:00:00 2001 From: certuna <62144283+certuna@users.noreply.github.com> Date: Tue, 29 Sep 2020 19:09:49 +0200 Subject: [PATCH] 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 --- ui/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/index.js b/ui/src/index.js index 824d26238..ebbacb3ff 100644 --- a/ui/src/index.js +++ b/ui/src/index.js @@ -9,4 +9,4 @@ 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() +serviceWorker.register()