Skip to content

Commit

Permalink
Merge branch 'history'
Browse files Browse the repository at this point in the history
  • Loading branch information
prokawsar committed Jul 15, 2024
2 parents dbba53b + 3b0ac4b commit 87d8d33
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ self.addEventListener('fetch', (event) => {
// ignore POST requests etc
if (event.request.method !== 'GET') return

// ignore chrome-extension requests
if (event.request.url.startsWith('chrome-extension://')) return

async function respond() {
const url = new URL(event.request.url)
const cache = await caches.open(CACHE)
Expand Down

0 comments on commit 87d8d33

Please sign in to comment.