Files
Polaris/static/uv-sw.js
T
2023-10-01 23:44:58 -04:00

8 lines
216 B
JavaScript

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)));