diff options
Diffstat (limited to 'src/serviceWorker.ts')
-rw-r--r-- | src/serviceWorker.ts | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/serviceWorker.ts b/src/serviceWorker.ts index b09523f..2b4d2b5 100644 --- a/src/serviceWorker.ts +++ b/src/serviceWorker.ts @@ -1,15 +1,3 @@ -// This optional code is used to register a service worker. -// register() is not called by default. - -// This lets the app load faster on subsequent visits in production, and gives -// it offline capabilities. However, it also means that developers (and users) -// will only see deployed updates on subsequent visits to a page, after all the -// existing tabs open on the page have been closed, since previously cached -// resources are updated in the background. - -// To learn more about the benefits of this model and instructions on how to -// opt-in, read https://bit.ly/CRA-PWA - const isLocalhost = Boolean( window.location.hostname === 'localhost' || // [::1] is the IPv6 localhost address. |