king
2025-05-23 24842b40de5cd60700bf69dfd38a0332f5431e36
src/serviceWorker.js
@@ -41,7 +41,7 @@
        // Add some additional logging to localhost, pointing developers to the
        // service worker/PWA documentation.
        navigator.serviceWorker.ready.then(() => {
          console.log(
          console.info(
            'This web app is being served cache-first by a service worker. To learn more, visit https://bit.ly/CRA-PWA'
          );
        });
@@ -68,7 +68,7 @@
              // At this point, the updated precached content has been fetched,
              // but the previous service worker will still serve the older
              // content until all client tabs are closed.
              console.log(
              console.info(
                'New content is available and will be used when all tabs for this page are closed. See https://bit.ly/CRA-PWA.'
              );
@@ -80,7 +80,7 @@
              // At this point, everything has been precached.
              // It's the perfect time to display a
              // "Content is cached for offline use." message.
              console.log('Content is cached for offline use.');
              console.info('Content is cached for offline use.');
              // Execute callback
              if (config && config.onSuccess) {
@@ -118,7 +118,7 @@
      }
    })
    .catch(() => {
      console.log(
      console.info(
        'No internet connection found. App is running in offline mode.'
      );
    });