mirror of
https://github.com/titaniumnetwork-dev/Ultraviolet.git
synced 2025-05-14 04:20:00 -04:00
add stock sw.js
This commit is contained in:
parent
79505c3a8c
commit
0cd779ffa2
2 changed files with 11 additions and 2 deletions
7
src/sw.js
Normal file
7
src/sw.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
importScripts('/uv.bundle.js');
|
||||
importScripts('/uv.config.js');
|
||||
importScripts('/uv.sw.js');
|
||||
|
||||
const sw = new UVServiceWorker();
|
||||
|
||||
self.addEventListener('fetch', (event) => event.respondWith(sw.fetch(event)));
|
Loading…
Add table
Add a link
Reference in a new issue