diff options
author | 2020-10-12 13:36:12 +0100 | |
---|---|---|
committer | 2020-10-12 13:36:12 +0100 | |
commit | fc1495d478e3d8b6e30a6311d9665907e7dca3ea (patch) | |
tree | 724eef8ae09ae8cb5e2b6a970e3bf3444a5d7822 /src | |
parent | Remove pointless comment (diff) |
Remove comments
Diffstat (limited to 'src')
-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. |