Looking at our Airbrake logs, seeing that we get ‘service worker not supported’ errors when the user is in a private browser.
Our Layer0 compatible service worker looks like this:
import { clientsClaim, skipWaiting } from 'workbox-core';
import { Prefetcher } from '@layer0/prefetch/sw';
import { precacheAndRoute } from 'workbox-precaching';
skipWaiting();
clientsClaim();
precacheAndRoute(self.__WB_MANIFEST || []);
new Prefetcher().route();
Any ideas how to bypass the service worker when its not supported?
Our project is a NuxtJS app, v2.15.7