From c5d295780c725398f5669967ae2cf58829a993b8 Mon Sep 17 00:00:00 2001 From: Niklas Korz Date: Mon, 29 Apr 2019 13:06:03 +0200 Subject: [PATCH] Re-enable service workers --- README.md | 2 -- src/index.tsx | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index df390d2..ca37ff8 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,6 @@ An editor and test environment for experimenting with 3D audio. Requires Node and Yarn to run locally. You can run the [most recent online version](https://niklaskorz.github.io/audio3d/) directly from your browser. After the first load, it will also work offline (if your [browser supports service workers](https://caniuse.com/#feat=serviceworkers) and you didn't disable caching of files for offline usage in your browser settings.) -Note: Service workers are currently disabled by default until further progress is made - [Logo by Flatart](https://www.iconfinder.com/icons/4168597/3d_change_correction_modification_object_print_printing_icon) ## Based on... diff --git a/src/index.tsx b/src/index.tsx index 3fc049c..dadd97f 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -48,4 +48,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: http://bit.ly/CRA-PWA -serviceWorker.unregister(); +serviceWorker.register();