diff --git a/priv/static/js/service-worker.js b/priv/static/js/service-worker.js index 511eba0..f73e080 100644 --- a/priv/static/js/service-worker.js +++ b/priv/static/js/service-worker.js @@ -31,10 +31,6 @@ const cacheFirst = async ({ request, fallbackUrl }) => { self.addEventListener("fetch", (event) => { // We don't cache API requests - if (!event.request.url?.pathname) { - return true; - } - if (!event.request.url.pathname.startsWith("/api")) { event.respondWith( cacheFirst({