From ee29c22b28c4676e94d89e86a765bf84dccf928d Mon Sep 17 00:00:00 2001 From: Denis Valeev Date: Sun, 26 Jul 2026 13:55:36 +0000 Subject: [PATCH] Keep the toolbox worker out of Pad --- offline-manifest.json | 12 ++++++------ service-worker.js | 3 +++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/offline-manifest.json b/offline-manifest.json index b178d40..c2bb59e 100644 --- a/offline-manifest.json +++ b/offline-manifest.json @@ -1,8 +1,8 @@ { - "version": "20260718-e313daf3cc6f-b7acc193c155-dirty", - "generatedAt": "2026-07-18T23:01:44.222Z", + "version": "20260726-58ab4692b8ef-43415d5ac648-dirty", + "generatedAt": "2026-07-26T13:47:30.358Z", "totalAssets": 81, - "totalBytes": 6553892, + "totalBytes": 6553977, "assets": [ { "path": "apps/asset-observatory/AGENTS.md", @@ -326,12 +326,12 @@ }, { "path": "service-worker.js", - "bytes": 13093 + "bytes": 13178 } ], "commit": { - "hash": "b7acc193c1555b00972775c6c0a57dd24b5e5ffb", - "short": "b7acc193c155", + "hash": "43415d5ac64801e204f22ef376623982bfdd78f9", + "short": "43415d5ac648", "dirty": true } } diff --git a/service-worker.js b/service-worker.js index 77fda3d..bdb6d09 100644 --- a/service-worker.js +++ b/service-worker.js @@ -47,6 +47,9 @@ self.addEventListener('fetch', (event) => { if (url.origin !== self.location.origin) { return; } + if (url.pathname === '/pad' || url.pathname.startsWith('/pad/')) { + return; + } if (url.pathname === SERVICE_WORKER_PATH) { return;