try again

This commit is contained in:
adueck 2024-08-15 09:41:55 -04:00
parent 719f646e14
commit 9fc960a758
1 changed files with 3 additions and 1 deletions

View File

@ -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",