Skip to content

Commit

Permalink
fix(board): do not cache Probot setup resources
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Jan 31, 2024
1 parent f34e935 commit ffde4c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/board/src/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ self.addEventListener('fetch', function(event) {
return;
}

if (/\/probot\//.test(url)) {
return;
}

if (/\/board\?.*$/.test(url)) {

const cachedRequest = new Request('/board');
Expand Down

0 comments on commit ffde4c1

Please sign in to comment.