chore(web): disable Serwist dev logs (#30980)

This commit is contained in:
yyh
2026-01-14 16:23:58 +08:00
committed by GitHub
parent b1b2c9636f
commit 42f991dbef

View File

@ -21,6 +21,7 @@ const offlineUrl = `${basePath}/_offline.html`
const serwist = new Serwist({ const serwist = new Serwist({
precacheEntries: self.__SW_MANIFEST, precacheEntries: self.__SW_MANIFEST,
skipWaiting: true, skipWaiting: true,
disableDevLogs: true,
clientsClaim: true, clientsClaim: true,
navigationPreload: true, navigationPreload: true,
runtimeCaching: [ runtimeCaching: [