Skip to content

Commit

Permalink
Create sw.js
Browse files Browse the repository at this point in the history
  • Loading branch information
willoo0 authored Nov 14, 2024
1 parent 870eade commit 34aa1e5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions public/sw.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
importScripts('/uv/uv.sw.js');

const sw = new UVServiceWorker();

self.addEventListener('fetch', event =>
event.respondWith(
sw.fetch(event)
)
);

0 comments on commit 34aa1e5

Please sign in to comment.