aboutsummaryrefslogtreecommitdiffstats
path: root/src/serviceWorker.ts
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-10-12 15:04:06 +0100
committerGravatar GitHub <[email protected]>2020-10-12 15:04:06 +0100
commit0abf07647a7f56ecd4b16c3bd0b6aef9cf8052a8 (patch)
tree324220fcdf616152d8743e59b2ac6dcb6c6db816 /src/serviceWorker.ts
parentMerge pull request #22 from python-discord/sentry/add-sentry-prefix (diff)
parentRemove unused dependencies (diff)
Merge pull request #23 from python-discord/build/new-process
Introduce new build system: SWC
Diffstat (limited to 'src/serviceWorker.ts')
-rw-r--r--src/serviceWorker.ts12
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.