Download frontend/src/lib/api.js from Seth0330/EMAILOUT: direct link, hf CLI and curl.
- Browser
- Download file 210 Bytes
-
https://huggingface.co/spaces/Seth0330/EMAILOUT/resolve/main/frontend/src/lib/api.js
- Command line
-
hf download hf://spaces/Seth0330/EMAILOUT/frontend/src/lib/api.js
-
curl -L -o api.js https://huggingface.co/spaces/Seth0330/EMAILOUT/resolve/main/frontend/src/lib/api.js
210 Bytes
| /** Browser cookie session + tenant APIs require credentials on same-origin / proxied /api calls. */ | |
| export function apiFetch(input, init = {}) { | |
| return fetch(input, { credentials: 'include', ...init }); | |
| } | |