summaryrefslogtreecommitdiff
path: root/web-build/register-service-worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'web-build/register-service-worker.js')
-rw-r--r--web-build/register-service-worker.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/web-build/register-service-worker.js b/web-build/register-service-worker.js
deleted file mode 100644
index 94ece4f..0000000
--- a/web-build/register-service-worker.js
+++ /dev/null
@@ -1,14 +0,0 @@
-/* eslint-env browser */
-
-if ('serviceWorker' in navigator) {
- window.addEventListener('load', function () {
- navigator.serviceWorker
- .register('/expo-service-worker.js', { scope: '/' })
- .then(function (info) {
- // console.info('Registered service-worker', info);
- })
- .catch(function (error) {
- console.info('Failed to register service-worker', error);
- });
- });
-}