Spaces:
Sleeping
Sleeping
Download public/sw.js from asboffical/ASB_Webproxy: direct link, hf CLI and curl.
- Browser
- Download file 321 Bytes
-
https://huggingface.co/spaces/asboffical/ASB_Webproxy/resolve/main/public/sw.js
- Command line
-
hf download hf://spaces/asboffical/ASB_Webproxy/public/sw.js
-
curl -L -o sw.js https://huggingface.co/spaces/asboffical/ASB_Webproxy/resolve/main/public/sw.js
321 Bytes
| // bare-mux doesn't need to be imported in the UV sw directly. It's used by the client. | |
| 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)); | |
| }); | |