Spaces:
Running
Running
Download node_modules/@mswjs/interceptors/src/presets/browser.ts from fffiloni/live-vision: direct link, hf CLI and curl.
- Browser
- Download file 344 Bytes
-
https://huggingface.co/spaces/fffiloni/live-vision/resolve/main/node_modules/%40mswjs/interceptors/src/presets/browser.ts
- Command line
-
hf download hf://spaces/fffiloni/live-vision/node_modules/@mswjs/interceptors/src/presets/browser.ts
-
curl -L -o browser.ts https://huggingface.co/spaces/fffiloni/live-vision/resolve/main/node_modules/%40mswjs/interceptors/src/presets/browser.ts
344 Bytes
| import { FetchInterceptor } from '../interceptors/fetch' | |
| import { XMLHttpRequestInterceptor } from '../interceptors/XMLHttpRequest' | |
| /** | |
| * The default preset provisions the interception of requests | |
| * regardless of their type (fetch/XMLHttpRequest). | |
| */ | |
| export default [ | |
| new FetchInterceptor(), | |
| new XMLHttpRequestInterceptor(), | |
| ] as const | |