Skip to content

Commit ff7a27d

Browse files
authored
Create uv.js
1 parent 3fa5839 commit ff7a27d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

active/uv.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
importScripts('/active/uv/uv.bundle.js');
2+
importScripts('/active/uv/uv.config.js');
3+
importScripts('/active/uv/uv.sw.js');
4+
importScripts('https://arc.io/arc-sw-core.js');
5+
6+
const sw = new UVServiceWorker();
7+
8+
self.addEventListener('fetch', (event) => event.respondWith(sw.fetch(event)));

0 commit comments

Comments
 (0)