asboffical's picture
Upload 6 files
5342de8 verified
Raw History Blame Contribute Delete
321 Bytes
// bare-mux doesn't need to be imported in the UV sw directly. It's used by the client.
importScripts('/uv/uv.bundle.js');
importScripts('/uv/uv.config.js');
importScripts('/uv/uv.sw.js');
const sw = new UVServiceWorker();
self.addEventListener('fetch', event => {
event.respondWith(sw.fetch(event));
});