Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemm.ee

4 replies

lemmy.world

Yeah, safari has a bug where when the SSL certificate renews, the service worker won’t update. Super annoying. But it is tracked on GitHub and I will be taking a look soon. Probably just have to blow away the service worker manually for Safari ಥ_ಥ

edit: Can you try pasting the following code into Safari's JS console on the vger.app site? Let me know if the notice disappears.

(async function() {
  try {
    // Get all service worker registrations
    const registrations = await navigator.serviceWorker.getRegistrations();

    // Unregister all service workers concurrently using Promise.all
    await Promise.all(
      registrations.map((registration) => registration.unregister())
    );
  } finally {
    // After unregistering, reload the page
    window.location.href = "/";
  }
})();
4
Youthlessreply
lemm.ee

That seemed to do the trick, no longer seeing the badge.

2

You reached the end