From ffde4c19b2bfd144d8a5df4d970534f39edc8991 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Wed, 31 Jan 2024 20:37:35 +0100 Subject: [PATCH] fix(board): do not cache Probot setup resources --- packages/board/src/service-worker.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/board/src/service-worker.js b/packages/board/src/service-worker.js index baed2611..e739b9af 100644 --- a/packages/board/src/service-worker.js +++ b/packages/board/src/service-worker.js @@ -125,6 +125,10 @@ self.addEventListener('fetch', function(event) { return; } + if (/\/probot\//.test(url)) { + return; + } + if (/\/board\?.*$/.test(url)) { const cachedRequest = new Request('/board');