Files
Polaris/static/uv/sw.js
T
2023-12-31 10:51:47 -07:00

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