diff options
author | Kirill Rogovoy <[email protected]> | 2021-07-20 21:24:52 +0300 |
---|---|---|
committer | Kirill Rogovoy <[email protected]> | 2021-07-20 21:24:52 +0300 |
commit | 5f4611d65e40eae3ca6191a15f68d69ea5a1c4cb (patch) | |
tree | 273dfc086444533d86d580961c92ba8d14781a67 /web-build/register-service-worker.js | |
parent | f0bf4e7afdcd8b02a62be45ab3e7d047ed865a79 (diff) |
WIP
Diffstat (limited to 'web-build/register-service-worker.js')
-rw-r--r-- | web-build/register-service-worker.js | 14 |
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); - }); - }); -} |