diff options
Diffstat (limited to 'web-build/register-service-worker.js')
-rw-r--r-- | web-build/register-service-worker.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web-build/register-service-worker.js b/web-build/register-service-worker.js new file mode 100644 index 0000000..ea5cca4 --- /dev/null +++ b/web-build/register-service-worker.js @@ -0,0 +1 @@ +"serviceWorker"in navigator&&window.addEventListener("load",(function(){navigator.serviceWorker.register("/expo-service-worker.js",{scope:"/"}).then((function(e){})).catch((function(e){console.info("Failed to register service-worker",e)}))}));
\ No newline at end of file |