From fee37f9880d295fa545b41c208573ca030f31eb3 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Mon, 2 Jan 2023 14:22:31 +0800 Subject: [PATCH] Disable workbox logging because it's too verbose --- public/sw.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/sw.js b/public/sw.js index 44af1ed..814b382 100644 --- a/public/sw.js +++ b/public/sw.js @@ -3,6 +3,8 @@ import { ExpirationPlugin } from 'workbox-expiration'; import { RegExpRoute, registerRoute, Route } from 'workbox-routing'; import { CacheFirst, StaleWhileRevalidate } from 'workbox-strategies'; +self.__WB_DISABLE_DEV_LOGS = true; + const imageRoute = new Route( ({ request, sameOrigin }) => { const isRemote = !sameOrigin;