From 5f4611d65e40eae3ca6191a15f68d69ea5a1c4cb Mon Sep 17 00:00:00 2001 From: Kirill Rogovoy Date: Tue, 20 Jul 2021 21:24:52 +0300 Subject: WIP --- web-build/register-service-worker.js | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 web-build/register-service-worker.js (limited to 'web-build/register-service-worker.js') 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); - }); - }); -} -- cgit v1.2.3