Skip to content

Commit

Permalink
Fixed UV Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
xbubbo committed Jan 20, 2024
1 parent 7ef7f1f commit 335ff7c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions static/sw.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*global UVServiceWorker,__uv$config*/
importScripts('/m/bundle.js');
importScripts('/m/config.js');
importScripts(__uv$config.sw || '/m/sw.js');
importScripts('/m/bundle.js')
importScripts('/m/config.js')
importScripts('/m/sw.js')

const sw = new UVServiceWorker();
const sw = new UVServiceWorker()
let userKey = new URL(location).searchParams.get('userkey')

self.addEventListener('fetch', (event) => event.respondWith(sw.fetch(event)));
self.addEventListener('fetch', (event) => event.respondWith(sw.fetch(event)))

0 comments on commit 335ff7c

Please sign in to comment.