diff --git a/website/src/serviceWorkerRegistration.ts b/website/src/serviceWorkerRegistration.ts index 840563a..392e052 100644 --- a/website/src/serviceWorkerRegistration.ts +++ b/website/src/serviceWorkerRegistration.ts @@ -26,7 +26,9 @@ type Config = { }; export function register(config?: Config) { - if (process.env.NODE_ENV === "production" && "serviceWorker" in navigator) { + if ( + /* process.env.NODE_ENV === "production" */ "serviceWorker" in navigator + ) { // The URL constructor is available in all browsers that support SW. const publicUrl = new URL( "https://dictionary.lingdocs.com",